foodsoft/app/views/ordergroups/edit.html.haml
Philipp Rothmann 93143c28f2 merge automatic group order invoice generation
see https://github.com/foodcoops/foodsoft/pull/907 for reference
and original work by viehlieb

Co-authored-by: viehlieb <pf@pragma-shift.net>

fix PDF Pdf

make explicit deposit in invoices work

add ordergroupname to invoice file name

mark bold sum for vat exempt foodcoops

download multiple group order invoice as zip
2023-10-05 10:21:35 +02:00

72 lines
1.3 KiB
Text

- title t('.title')
- form_for @ordergroup do |f|
= f.error_messages
%p
= f.label :type
%br/
= f.text_field :type
%p
= f.label :name
%br/
= f.text_field :name
%p
= f.label :description
%br/
= f.text_field :description
%p
= f.label :account_balance
%br/
= f.text_field :account_balance
%p
= f.label :account_updated
%br/
= f.datetime_select :account_updated
%p
= f.label :created_on
%br/
= f.datetime_select :created_on
%p
= f.label :role_admin
%br/
= f.check_box :role_admin
%p
= f.label :role_suppliers
%br/
= f.check_box :role_suppliers
%p
= f.label :role_article_meta
%br/
= f.check_box :role_article_meta
%p
= f.label :role_finance
%br/
= f.check_box :role_finance
%p
= f.label :role_invoices
%br/
= f.check_box :role_invoices
%p
= f.label :role_orders
%br/
= f.check_box :role_orders
%p
= f.label :deleted_at
%br/
= f.datetime_select :deleted_at
%p
= f.label :contact_person
%br/
= f.text_field :contact_person
%p
= f.label :customer_number
%br/
= f.text_field :customer_number
%p
= f.label :contact_phone
%br/
= f.text_field :contact_phone
%p
= f.label :contact_address
%br/
= f.text_field :contact_address
%p= f.submit t('ui.edit')