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

18 lines
626 B
Plaintext

%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}