2013-03-22 00:20:30 +01:00
|
|
|
- title t('.title', supplier: @supplier.name)
|
|
|
|
= t('.body').html_safe
|
|
|
|
%pre
|
|
|
|
= [t('.fields.status'),
|
2013-10-03 16:03:13 +02:00
|
|
|
Article.human_attribute_name(:order_number),
|
|
|
|
Article.human_attribute_name(:name),
|
|
|
|
Article.human_attribute_name(:note),
|
|
|
|
Article.human_attribute_name(:manufacturer),
|
|
|
|
Article.human_attribute_name(:origin),
|
|
|
|
Article.human_attribute_name(:unit),
|
|
|
|
Article.human_attribute_name(:price),
|
|
|
|
Article.human_attribute_name(:tax),
|
|
|
|
Article.human_attribute_name(:deposit),
|
|
|
|
Article.human_attribute_name(:unit_quantity),
|
2013-03-22 00:20:30 +01:00
|
|
|
t('.fields.season_amount'),
|
|
|
|
t('.fields.season_price'),
|
2013-10-03 16:03:13 +02:00
|
|
|
Article.human_attribute_name(:article_category)].join(" | ")
|
2009-01-06 11:49:19 +01:00
|
|
|
|
2012-10-28 18:03:50 +01:00
|
|
|
= form_for :articles, :url => parse_upload_supplier_articles_path(@supplier),
|
|
|
|
:html => { :multipart => true } do |f|
|
2013-03-22 00:20:30 +01:00
|
|
|
%label(for="articles_file")= t '.file_label'
|
2012-10-28 18:03:50 +01:00
|
|
|
= f.file_field "file"
|
|
|
|
.form-actions
|
2013-03-22 00:20:30 +01:00
|
|
|
= submit_tag t('.submit'), class: 'btn'
|