2013-12-07 11:20:03 +01:00
|
|
|
%tr{:class => stock_article_classes(stock_article), :id => "stockArticle-#{stock_article.id}"}
|
|
|
|
%td= link_to stock_article.name, stock_article
|
|
|
|
%td= stock_article.quantity
|
2013-12-07 11:50:37 +01:00
|
|
|
%td= stock_article.quantity_ordered
|
2013-12-07 17:10:40 +01:00
|
|
|
%td.main_info= stock_article.quantity_available
|
2013-12-07 11:20:03 +01:00
|
|
|
%td= stock_article.unit
|
|
|
|
%td= stock_article.price
|
|
|
|
%td= number_to_percentage stock_article.tax
|
|
|
|
%td= link_to stock_article.supplier.name, stock_article.supplier
|
|
|
|
%td= stock_article.article_category.name
|
|
|
|
%td
|
|
|
|
= link_to t('ui.edit'), edit_stock_article_path(stock_article), remote: true, class: 'btn btn-mini'
|
2016-03-04 23:13:28 +01:00
|
|
|
= link_to t('ui.delete'), stock_article, :method => :delete, :data => {:confirm => t('ui.confirm_delete', :name => stock_article.name)},
|
2013-12-07 11:20:03 +01:00
|
|
|
class: 'btn btn-mini btn-danger', :remote => true
|