Add IBAN field to supplier and user model
This commit is contained in:
parent
925727d3ae
commit
c6731b4e4f
12 changed files with 34 additions and 2 deletions
|
|
@ -12,6 +12,8 @@
|
|||
= f.input :url
|
||||
= f.input :contact_person
|
||||
= f.input :customer_number
|
||||
- if FoodsoftConfig[:use_iban]
|
||||
= f.input :iban
|
||||
= f.input :delivery_days
|
||||
= f.input :order_howto, as: :text, input_html: {rows: 5}
|
||||
= f.input :note, as: :text, input_html: {rows: 5}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,9 @@
|
|||
%dd= @supplier.contact_person
|
||||
%dt= heading_helper(Supplier, :customer_number) + ':'
|
||||
%dd= @supplier.customer_number
|
||||
- if FoodsoftConfig[:use_iban]
|
||||
%dt= heading_helper(Supplier, :iban) + ':'
|
||||
%dd= @supplier.iban
|
||||
%dt= heading_helper(Supplier, :delivery_days) + ':'
|
||||
%dd= @supplier.delivery_days
|
||||
%dt= heading_helper(Supplier, :order_howto) + ':'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue