Add custom fields to invoice, odergroup, supplier and user
This commit is contained in:
parent
72b5a5ca82
commit
75deec9f06
13 changed files with 48 additions and 7 deletions
|
|
@ -18,6 +18,7 @@
|
|||
= f.input :order_howto, as: :text, input_html: {rows: 5}
|
||||
= f.input :note, as: :text, input_html: {rows: 5}
|
||||
= f.input :min_order_quantity
|
||||
= render 'shared/custom_form_fields', f: f, type: :supplier
|
||||
- if @supplier.shared_supplier
|
||||
= f.input :shared_sync_method, collection: shared_sync_method_collection(@supplier.shared_supplier), input_html: {class: 'input-xlarge'}, include_blank: false, disabled: @supplier.shared_supplier.shared_sync_methods.count < 2
|
||||
.form-actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue