2009-02-12 18:32:20 +01:00
|
|
|
%p
|
2011-05-27 14:09:01 +02:00
|
|
|
= simple_fields_for "stock_taking[stock_change_attributes][]", stock_change do |form|
|
2009-02-12 18:32:20 +01:00
|
|
|
= form.hidden_field :stock_article_id
|
2014-09-15 13:47:21 +02:00
|
|
|
= StockArticle.human_attribute_name :amount
|
2013-12-06 23:08:28 +01:00
|
|
|
(#{stock_change.stock_article.quantity_available})
|
2011-05-27 14:09:01 +02:00
|
|
|
= form.text_field :quantity, :size => 5, :autocomplete => 'off'
|
2020-08-12 02:44:19 +02:00
|
|
|
%span{:data => {:toggle => :tooltip, :title => "#{render(:partial => 'shared/article_price_info', :locals => {:article => stock_change.stock_article})}"}}
|
2013-10-03 22:14:41 +02:00
|
|
|
%b= stock_change.stock_article.name
|
|
|
|
= "(#{number_to_currency(stock_change.stock_article.price)} / #{stock_change.stock_article.unit})"
|