spree_print_invoice icon indicating copy to clipboard operation
spree_print_invoice copied to clipboard

Make the invoice number formattable

Open mamhoff opened this issue 8 years ago • 1 comments

In order to satisfy jurisdictions where invoice numbers have to conform specific formal requirements (number of digits, prefix, whatever) you can now define a Spree::PrintInvoice::NumberFormattter class which initializes with a integer, and implements a to_s method returning a formatted number.

mamhoff avatar Nov 03 '15 15:11 mamhoff

Could you please add a note about this feature into the README?

😎👌👍🏼

tvdeyen avatar Nov 03 '15 22:11 tvdeyen