move automatic invoices to plugin
changes on deposit calculation tiny changes on group order invoice pdf
This commit is contained in:
parent
42a1773a87
commit
e78d1ad072
67 changed files with 5579 additions and 69 deletions
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
/ insert_after 'erb:contains(".description2")'
|
||||
- if FoodsoftAutomaticInvoices.enabled?
|
||||
- if FoodsoftConfig[:group_order_invoices]&.[](:separate_deposits)
|
||||
= t '.description3', net_deposit: number_to_currency(@order.sum(:net_deposit)), deposit: number_to_currency(@order.sum(:deposit))
|
||||
Loading…
Add table
Add a link
Reference in a new issue