Fixed bug order.profit calculation.
Order.profit will also be saved, when order is closed.
This commit is contained in:
parent
843e4a7233
commit
da08365816
32 changed files with 408 additions and 34 deletions
|
|
@ -17,7 +17,7 @@
|
|||
%td= number_to_currency(order.sum(:groups))
|
||||
%tr
|
||||
%td FC Gewinn ohne Aufschlag:
|
||||
%td= number_to_currency(order.profit(:with_markup => false))
|
||||
%td= number_to_currency(order.profit(:without_markup => true))
|
||||
%tr
|
||||
%td FC Gewinn mit Aufschlag:
|
||||
%td#order_profit= number_to_currency(order.profit)
|
||||
Loading…
Add table
Add a link
Reference in a new issue