2009-01-06 11:49:19 +01:00
|
|
|
%p{:style => "float:left"}
|
|
|
|
%b Lieferung bearbeiten
|
|
|
|
%p{:style => "float:right"}
|
2009-02-09 20:12:56 +01:00
|
|
|
= remote_link_to "Artikel hinzufügen", :url => {:action => "new_order_article", :id => @order}
|
2009-01-06 11:49:19 +01:00
|
|
|
|
|
|
|
%table{:class => "ordered_articles", :style => "clear:both"}
|
|
|
|
%thead
|
|
|
|
%tr
|
2009-01-29 21:28:22 +01:00
|
|
|
%th{:colspan => "1"} Artikel
|
2009-01-06 11:49:19 +01:00
|
|
|
%th Nr.
|
|
|
|
%th Menge
|
|
|
|
%th GebGr * Einheit
|
2009-03-22 11:22:57 +01:00
|
|
|
%th Netto
|
|
|
|
%th Brutto
|
2009-01-06 11:49:19 +01:00
|
|
|
%th MwSt
|
|
|
|
%th Pfand
|
|
|
|
%th{:colspan => "2"}
|
|
|
|
%tbody#result_table
|
2009-02-04 16:41:01 +01:00
|
|
|
- for order_article in @order.order_articles.ordered.all(:include => [:article, :article_price])
|
2009-01-29 21:28:22 +01:00
|
|
|
= render :partial => "order_article_result", :locals => {:order_article => order_article}
|