Order refactoring part two: Balancing workflow was adapted to the new order schema. Article modification is still missing.
This commit is contained in:
parent
9eb2125f15
commit
190a777278
53 changed files with 568 additions and 603 deletions
|
|
@ -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}
|
||||
Loading…
Add table
Add a link
Reference in a new issue