::use 'design.mtt'::

::_("Order payment")::

::_("Amount to pay"):: : ::formatNum(amount):: ::currency()::

::_("Your basket has been recorded, please select a payment method to confirm it.")::

::if(paymentTypes==null || paymentTypes.length==0)::
::_("Currently no payment method has been defined for this group.")::
::end:: ::foreach p paymentTypes::
::if(p.type != "moneypot" || allowMoneyPotWithNegativeBalance || futurebalance >= 0):: ::set class = "clickable":: ::set href = p.link:: ::else:: ::set class = "clickable disabled":: ::set href = "#":: ::set warning = _("You do not have sufficient funds to pay this order with your money pot."):: ::end::

::p.name::

::raw p.icon:: ::if( warning )::
::warning:: ::end::
::end::
::end::