::if uo.product.active==false::
::else::
::end::
|
::if uo.product.active==false::
::uo.product.getName():: ::_("(inactive)")::
::else::
::uo.product.getName()::
::end::
|
::formatNum(uo.product.price):: ::currency()::
|
::if uo.order==null::
::set q = 0::
::else::
::set q = uo.order.quantity::
::end::
::set total = total+(q*uo.product.price)::
|
::_("Paid:")::
::if uo.order!=null::
::else::
::end::
|
|
::end::
::set extra = 0::
::if c.hasPercentageOnOrders()::