::use 'design.mtt'::
::m.userName:: ::if m.userName2!=null:: en alternance avec ::m.userName2:: ::end:: ::set contractTotal = 0:: | ||||||||
::_("Contract"):: | ::_("Qty"):: | ::_("Ref"):: | ::_("Product"):: | ::_("U.P."):: | ::_("Sub-total"):: | ::_("Fees"):: | ::_("Total"):: | ::_("Paid"):: |
---|---|---|---|---|---|---|---|---|
::short(m.contractName,40):: | ::if(m.quantity==0 && m.canceled):: ::_("Canceled"):: ::else:: ::raw m.smartQt:: ::end:: | $$nullSafe(::m.productRef::) | ::short(m.productName,40):: | ::formatNum(m.productPrice):: ::currency():: | ::formatNum(m.subTotal):: ::currency():: | ::if m.percentageValue!=null:: ::formatNum(m.fees):: ::currency():: ::end:: | ::formatNum(m.total):: ::currency():: ::set total = total + m.total:: ::set subtotal = subtotal + m.total:: ::set contractTotal = contractTotal + m.total:: | ::if m.paid==true:: ::_("Paid"):: ::else:: ::_("Not paid"):: ::end:: |
Total ::m.contractName:: | ::formatNum(contractTotal):: ::currency():: | ::set contractTotal = 0:: | ||||||
::_("Total member"):: | ::formatNum(subtotal):: ::currency():: | ::set subtotal = 0:: | ||||||
::_("Total of all orders:"):: | ::formatNum(total):: ::currency():: |