2009-02-06 16:26:35 +01:00
|
|
|
- remote_form_for stock_article, :url => add_stock_article_supplier_deliveries_path(@supplier) do |form|
|
|
|
|
= form.error_messages
|
2009-02-12 18:32:20 +01:00
|
|
|
= form.hidden_field :supplier_id
|
2009-02-06 16:26:35 +01:00
|
|
|
|
|
|
|
%p
|
2009-03-11 18:03:28 +01:00
|
|
|
Name
|
2009-02-06 16:26:35 +01:00
|
|
|
%br/
|
|
|
|
= form.text_field :name
|
|
|
|
%p
|
2009-03-11 18:03:28 +01:00
|
|
|
Einheit
|
2009-02-06 16:26:35 +01:00
|
|
|
%br/
|
|
|
|
= form.text_field :unit
|
|
|
|
%p
|
2009-03-11 18:03:28 +01:00
|
|
|
Notiz
|
2009-02-06 16:26:35 +01:00
|
|
|
%br/
|
|
|
|
= form.text_field :note
|
|
|
|
%p
|
2009-03-11 18:03:28 +01:00
|
|
|
Preis
|
2009-02-06 16:26:35 +01:00
|
|
|
%br/
|
|
|
|
= form.text_field :price
|
|
|
|
%p
|
2009-03-11 18:03:28 +01:00
|
|
|
MwSt
|
2009-02-06 16:26:35 +01:00
|
|
|
%br/
|
|
|
|
= form.text_field :tax, :value => (stock_article.tax || 7.0)
|
|
|
|
%p
|
2009-03-11 18:03:28 +01:00
|
|
|
Pfand
|
2009-02-06 16:26:35 +01:00
|
|
|
%br/
|
|
|
|
= form.text_field :deposit
|
|
|
|
%p
|
|
|
|
Kategorie:
|
2009-02-06 17:06:08 +01:00
|
|
|
= form.select :article_category_id, ArticleCategory.all(:order => 'name').collect { |c| [c.name, c.id] }
|
2009-02-06 16:26:35 +01:00
|
|
|
%p
|
2009-02-12 18:32:20 +01:00
|
|
|
= submit_tag "Lagerartikel speichern"
|