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,3 @@
|
|||
/ insert_after 'erb:contains("phone")'
|
||||
- if FoodsoftAutomaticInvoices.enabled?
|
||||
= config_input c, :tax_number, input_html: {class: 'input-medium'}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
/ insert_after 'erb:contains(":use_self_service")'
|
||||
- if FoodsoftAutomaticInvoices.enabled?
|
||||
%h4= t '.group_order_invoices'
|
||||
= form.fields_for :group_order_invoices do |field|
|
||||
= config_input field, :use_automatic_invoices, as: :boolean
|
||||
= config_input field, :separate_deposits, as: :boolean
|
||||
= config_input field, :vat_exempt, as: :boolean
|
||||
= config_input field, :payment_method, as: :string, input_html: {class: 'input-medium'}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
/ insert_after 'erb:contains(":contact_person")'
|
||||
- if FoodsoftAutomaticInvoices.enabled?
|
||||
= f.input :customer_number
|
||||
Loading…
Add table
Add a link
Reference in a new issue