::if currentContract != short(m.contractName,40) ::
::if currentContract == "" ::
::set td_style="font-size:" + fontRatio + "%" ::
::else::
::set td_style="font-size:" + fontRatio + "%;border-top: 2px solid #AAA;" ::
::end::
::short(m.contractName,40)::
|
::set currentContract = short(m.contractName,40)::
::else::
|
::end::
::if(m.quantity==0 && m.canceled)::
::_("Canceled")::
::else::
::raw m.smartQt::
::end::
::set productNum = productNum+m.quantity::
|
::m.productName::
|
::formatNum(m.productPrice):: ::currency()::
|
::if m.fees!=null::
::formatNum(m.fees):: ::currency()::
::end::
|
::formatNum(m.total):: ::currency()::
::set total = total + m.total::
|
|
::set name = m.userName ::
::set name2 = m.userName2 ::
::set next = orders[repeat.m.index+1]::
::if next==null || next.userName!=name || next.userName2!=name2::