foodsoft/app/views/finance/balancing/_edit_results_by_articles.h...

18 lines
722 B
Plaintext
Raw Normal View History

%table.ordered-articles.table.table-striped
2009-01-06 11:49:19 +01:00
%thead
%tr
2013-12-12 00:13:19 +01:00
%th= sort_link_helper Article.model_name.human, "name"
%th= sort_link_helper Article.human_attribute_name(:order_number_short), "order_number"
2013-02-10 09:05:20 +01:00
%th= t('.amount')
2013-12-12 00:13:19 +01:00
%th= heading_helper Article, :units
2013-02-10 09:05:20 +01:00
%th= t('.net')
%th= t('.gross')
2013-12-12 00:13:19 +01:00
%th= heading_helper Article, :tax
%th= heading_helper Article, :deposit
2009-01-06 11:49:19 +01:00
%th{:colspan => "2"}
2013-02-10 09:05:20 +01:00
= link_to t('.add_article'), new_finance_order_order_article_path(@order), remote: true,
class: 'btn btn-small'
2009-01-06 11:49:19 +01:00
%tbody#result_table
- for order_article in @articles
= render :partial => "order_article_result", :locals => {:order_article => order_article}