Order refactoring part two: Balancing workflow was adapted to the new order schema. Article modification is still missing.

This commit is contained in:
Benjamin Meichsner 2009-01-29 21:28:22 +01:00
parent 9eb2125f15
commit 190a777278
53 changed files with 568 additions and 603 deletions

View file

@ -0,0 +1,20 @@
%p{:style => "float:left"}
%b Lieferung bearbeiten
%p{:style => "float:right"}
//= remote_link_to "Artikel hinzufügen", :url => {:action => "newArticleResult", :id => @order}
%table{:class => "ordered_articles", :style => "clear:both"}
%thead
%tr
%th{:colspan => "1"} Artikel
%th Nr.
%th Menge
%th GebGr * Einheit
%th netto
%th brutto
%th MwSt
%th Pfand
%th{:colspan => "2"}
%tbody#result_table
- for order_article in @order.order_articles.all(:include => [:article, :article_price])
= render :partial => "order_article_result", :locals => {:order_article => order_article}