foodsoft/app/views/finance/balancing/_edit_results_by_articles.html.haml
2013-02-10 15:05:31 +07:00

17 lines
626 B
Text

%table.ordered-articles.table.table-striped
%thead
%tr
%th= sort_link_helper t('.article'), "name"
%th= sort_link_helper t('.number'), "order_number"
%th= t('.amount')
%th= t('.amount_per_unit')
%th= t('.net')
%th= t('.gross')
%th= t('.tax')
%th= t('.refund')
%th{:colspan => "2"}
= link_to t('.add_article'), new_finance_order_order_article_path(@order), remote: true,
class: 'btn btn-small'
%tbody#result_table
- for order_article in @articles
= render :partial => "order_article_result", :locals => {:order_article => order_article}