spree-contrib / spree_print_invoice

Create a PDF invoice for Spree orders.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
91 stars 239 forks source link

NoMethodError: prawn_options preference not defined #109

Closed krtschmr closed 8 years ago

krtschmr commented 8 years ago

from docs

Spree::PrintInvoice::Config.set(prawn_options: { page_layout: :landscape, page_size: 'A4', margin: [50, 100, 150, 200] })
krtschmr commented 8 years ago

ruby 2.3.0 rails 4.2.6 spree_invoice (1.1.13) prawn (2.1.0) prawn-rails (0.1.1) prawn-table (0.2.2)

krtschmr commented 8 years ago

Duplicate https://github.com/spree-contrib/spree_print_invoice/issues/74