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

23 lines
754 B
Plaintext

%p{:style => "float:left"}
%b Lieferung bearbeiten
%p{:style => "float:right"}
= link_to "Artikel hinzufügen", new_finance_order_order_article_path(@order), remote: true
%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}