foodsoft/app/views/finance/balancing/_edit_results_by_articles.html.haml
2012-05-12 11:18:46 +02:00

22 lines
759 B
Text

%p{:style => "float:left"}
%b Lieferung bearbeiten
%p{:style => "float:right"}
/= remote_link_to "Artikel hinzufügen", :url => {:action => "new_order_article", :id => @order}
%table{:class => "ordered_articles", :style => "clear:both"}
%thead
%tr
%th{colspan: "1", class: sort_td_class_helper("name")}
= sort_link_helper "Artikel", "name"
%th{class: sort_td_class_helper("order_number")}
= sort_link_helper "Nr.", "order_number"
%th Menge
%th GebGr * Einheit
%th Netto
%th Brutto
%th MwSt
%th Pfand
%th{:colspan => "2"}
%tbody#result_table
- for order_article in @articles
= render :partial => "order_article_result", :locals => {:order_article => order_article}