Refactor variable substitution for receiving invoice numbers

Use localStorage to store selected printer
Add printer selection for invoice template
Print after sale checkbox is now present in receivings and sales screen
Remove print after sale options from receipt_config
Add default translations to receivings_lang.csv
Fix some bugs preventing to print and email at the same time
This commit is contained in:
jekkos-t520
2015-02-19 18:10:31 +01:00
parent 6ff19cb3f3
commit babddd524c
49 changed files with 469 additions and 343 deletions

View File

@@ -55,7 +55,6 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
('barcode_num_in_row', '2'),
('barcode_page_width', '100'),
('barcode_page_cellspacing', '20'),
('receipt_printer', ''),
('receipt_show_taxes', '0'),
('use_invoice_template', '1'),
('invoice_email_message', 'Dear $CU, In attachment the receipt for sale $CO'),