Add ordergroup_name to GroupOrder
This commit is contained in:
parent
9c4d9d5c20
commit
b8010fedca
7 changed files with 9 additions and 9 deletions
|
|
@ -17,7 +17,7 @@
|
|||
%tr[group_order_article]
|
||||
%td
|
||||
%td{:style=>"width:50%"}
|
||||
= group_order_article.group_order.ordergroup.name
|
||||
= group_order_article.group_order.ordergroup_name
|
||||
%td.center= group_order_article_edit_result(group_order_article)
|
||||
%td.numeric= number_to_currency(group_order_article.order_article.price.fc_price * group_order_article.result)
|
||||
%td.actions{:style=>"width:1em"}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
%table.table.table-striped{:style => "width:35em"}
|
||||
- for group_order in @order.group_orders
|
||||
%tr{:class => cycle('even', 'odd')}
|
||||
%td= group_order.ordergroup.name
|
||||
%td= group_order.ordergroup_name
|
||||
%td.numeric= number_to_currency(group_order.price)
|
||||
.form-actions
|
||||
= link_to t('.clear'), close_finance_order_path(@order), method: :patch, class: 'btn btn-primary'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue