2012-11-10 16:44:05 +01:00
|
|
|
%table.ordered-articles.table.table-striped
|
2009-01-06 11:49:19 +01:00
|
|
|
%thead
|
|
|
|
%tr
|
2013-02-10 09:05:20 +01:00
|
|
|
%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')
|
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,
|
2012-11-10 16:44:05 +01:00
|
|
|
class: 'btn btn-small'
|
2009-01-06 11:49:19 +01:00
|
|
|
%tbody#result_table
|
2009-04-01 00:46:01 +02:00
|
|
|
- for order_article in @articles
|
2009-01-29 21:28:22 +01:00
|
|
|
= render :partial => "order_article_result", :locals => {:order_article => order_article}
|