2009-01-29 21:28:22 +01:00
|
|
|
%b=h order.supplier.name
|
|
|
|
%br/
|
|
|
|
= "von #{format_date(order.starts)} bis #{format_date(order.ends)}"
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-01-29 21:28:22 +01:00
|
|
|
%table
|
|
|
|
%tr
|
|
|
|
%td Nettobetrag:
|
2009-02-03 21:14:48 +01:00
|
|
|
%td= number_to_currency(order.sum(:net))
|
2009-01-29 21:28:22 +01:00
|
|
|
%tr
|
|
|
|
%td Bruttobetrag:
|
|
|
|
%td= number_to_currency(order.sum(:gross))
|
|
|
|
%tr
|
|
|
|
%td FC-Betrag:
|
|
|
|
%td= number_to_currency(order.sum(:fc))
|
|
|
|
%tr
|
|
|
|
%td Summe der Gruppenbeträge:
|
|
|
|
%td= number_to_currency(order.sum(:groups))
|
|
|
|
%tr
|
|
|
|
%td FC Gewinn ohne Aufschlag:
|
|
|
|
%td= number_to_currency(order.profit(:with_markup => false))
|
|
|
|
%tr
|
|
|
|
%td FC Gewinn mit Aufschlag:
|
|
|
|
%td#order_profit= number_to_currency(order.profit)
|