Improved the creation/updating of deliveries.
This commit is contained in:
parent
67743cd014
commit
cd9636a650
7 changed files with 93 additions and 43 deletions
|
|
@ -1,16 +0,0 @@
|
|||
- form_for([@supplier,@delivery]) do |f|
|
||||
= f.error_messages
|
||||
= f.hidden_field :supplier_id
|
||||
%p
|
||||
%b= f.label :delivered_on
|
||||
= f.date_select :delivered_on
|
||||
|
||||
%h2 Artikel
|
||||
#stock_changes
|
||||
= yield
|
||||
%br/
|
||||
= add_article_link
|
||||
%p
|
||||
= f.submit "Speichern"
|
||||
|
||||
= link_to 'Zurück', supplier_deliveries_path(@supplier)
|
||||
Loading…
Add table
Add a link
Reference in a new issue