::_("Name"):: | ::_("Contact details"):: | ::_("Qty"):: | ::_("Product"):: | ::_("U.P."):: | ::_("Fees"):: | ::_("Total"):: | ::_("Signature"):: | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
::if m.userName != name || m.userName2 != name2::
::set basket = getBasket(m.userId,place.id,date)::
::_("Num"):: ::basket.num:: -
::m.userName::
::if m.userName2 != null::
::_("alternately with"):: ::m.userName2:: ::end:: ::set total = 0:: ::set productNum = 0:: ::end:: |
::if m.userName != name || m.userName2 != name2::
::set u = getUser(m.userId):
::if u !=null::
$$nullSafe(::u.phone::)
::end::
::if m.userName2 != null::
::set u = getUser(m.userId2):
::if u !=null::
$$nullSafe(::u.phone::) ::end:: ::end:: ::end:: |
::set name = m.userName ::
::set name2 = m.userName2 ::
::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:: | |||||||||||||||||||
::formatNum(productNum):: | ::_("TOTAL"):: | ::formatNum(total):: ::currency():: | |||||||||||||||||||||||
::_("Payment:"):: |
|
::else::
::set ua = u.getUserAmap(user._amap):: ::set balance = ua.balance:: | ::_("Balance of the member:"):: ::ua.balance:: ::currency():: |
::set pending = 0::
|
::end::
::raw nl2br(user.getAmap().txtDistrib)::
::_("Push on \"Control + P\" to print this page.")::
::r.t::ms | ::r.length:: | Exp | Stack | ::r.sql:: |