2009-02-05 16:40:02 +01:00
|
|
|
%b=h order.name
|
2009-01-29 21:28:22 +01:00
|
|
|
%br/
|
2013-02-10 09:05:20 +01:00
|
|
|
= t('.duration', {starts: format_date(order.starts), ends: format_date(order.ends)})
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-01-29 21:28:22 +01:00
|
|
|
%table
|
|
|
|
%tr
|
2013-02-10 09:05:20 +01:00
|
|
|
%td= t('.net_amount')
|
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
|
2013-02-10 09:05:20 +01:00
|
|
|
%td= t('.gross_amount')
|
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
|
2013-02-10 09:05:20 +01:00
|
|
|
%td= t('.fc_amount')
|
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
|
2013-02-10 09:05:20 +01:00
|
|
|
%td= t('.groups_amount')
|
2012-11-10 16:44:05 +01:00
|
|
|
%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
|
2013-02-10 09:05:20 +01:00
|
|
|
= t('.fc_profit')
|
|
|
|
%small= t('.without_extra_charge')
|
2012-11-10 16:44:05 +01:00
|
|
|
%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
|
2013-02-10 09:05:20 +01:00
|
|
|
= t('.fc_profit')
|
|
|
|
%small= t('.with_extra_charge')
|
2012-11-10 16:44:05 +01:00
|
|
|
%td#order_profit.numeric= number_to_currency(order.profit)
|