2009-02-05 16:40:02 +01:00
|
|
|
%b=h order.name
|
2009-01-29 21:28:22 +01:00
|
|
|
%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:
|
2012-11-10 16:44:05 +01:00
|
|
|
%td.numeric= number_to_currency(order.sum(:net))
|
2009-01-29 21:28:22 +01:00
|
|
|
%tr
|
|
|
|
%td Bruttobetrag:
|
2012-11-10 16:44:05 +01:00
|
|
|
%td.numeric= number_to_currency(order.sum(:gross))
|
2009-01-29 21:28:22 +01:00
|
|
|
%tr
|
|
|
|
%td FC-Betrag:
|
2012-11-10 16:44:05 +01:00
|
|
|
%td.numeric= number_to_currency(order.sum(:fc))
|
2009-01-29 21:28:22 +01:00
|
|
|
%tr
|
2012-11-10 16:44:05 +01:00
|
|
|
%td Gruppenbeträge:
|
|
|
|
%td.numeric= number_to_currency(order.sum(:groups))
|
2009-01-29 21:28:22 +01:00
|
|
|
%tr
|
2012-11-10 16:44:05 +01:00
|
|
|
%td
|
|
|
|
FC Gewinn
|
|
|
|
%small ohne Aufschlag:
|
|
|
|
%td.numeric= number_to_currency(order.profit(:without_markup => true))
|
2009-01-29 21:28:22 +01:00
|
|
|
%tr
|
2012-11-10 16:44:05 +01:00
|
|
|
%td
|
|
|
|
FC Gewinn
|
|
|
|
%small mit Aufschlag:
|
|
|
|
%td#order_profit.numeric= number_to_currency(order.profit)
|