You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.3 KiB

  1. ::use 'design.mtt'::
  2. <div class="col-md-12">
  3. <div class="article text-center">
  4. <h2>::_("Order payment")::</h2>
  5. <!--<div>
  6. ::_("Your current balance is"):: <b>::ua.balance::</b>
  7. </div> -->
  8. <div style="font-size:120%;">
  9. <p>
  10. ::_("Amount to pay"):: : <b>::formatNum(amount):: ::currency()::</b>
  11. </p>
  12. <p>
  13. ::_("Your basket has been recorded, please select a payment method to confirm it.")::
  14. </p>
  15. </div>
  16. <div class="row">
  17. ::if(paymentTypes==null || paymentTypes.length==0)::
  18. <div class="col-md-12">
  19. <div class="alert alert-danger">
  20. ::_("Currently no payment method has been defined for this group.")::
  21. </div>
  22. </div>
  23. ::end::
  24. ::foreach p paymentTypes::
  25. <div class="col-md-4">
  26. ::if(p.type != "moneypot" || allowMoneyPotWithNegativeBalance || futurebalance >= 0)::
  27. ::set class = "clickable"::
  28. ::set href = p.link::
  29. ::else::
  30. ::set class = "clickable disabled"::
  31. ::set href = "#"::
  32. ::set warning = _("You do not have sufficient funds to pay this order with your money pot.")::
  33. ::end::
  34. <a class="::class::" href="::href::" style="min-height:120px;vertical-align:middle;">
  35. <h3>::p.name::</h3>
  36. ::raw p.icon::
  37. ::if( warning )::
  38. <br/>::warning::
  39. ::end::
  40. </a>
  41. </div>
  42. ::end::
  43. </div>
  44. </div>
  45. </div>
  46. ::end::