sidebar-secondary-custom.tpl 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {*
  2. **********************************************************
  3. * Developed by: Team Theme Metro
  4. * Website: http://www.thememetro.com
  5. **********************************************************
  6. *}
  7. {if $templatefile == "masspay"}
  8. <div class="panel panel-sidebar panel-invoice-info">
  9. <div class="panel-body">
  10. <div class="total">
  11. <span class="total-text">
  12. {$LANG.invoicestotaldue}
  13. </span>
  14. <span class="total-price">
  15. {$total}
  16. <i class="fal fa-exclamation-circle"></i>
  17. </span>
  18. </div>
  19. <form method="post" action="clientarea.php?action=masspay">
  20. <input type="hidden" name="geninvoice" value="true" />
  21. {foreach from=$invoiceitems key=invid item=invoiceitem}
  22. <input type="hidden" name="invoiceids[]" value="{$invid}" />
  23. {/foreach}
  24. <fieldset>
  25. <div class="form-group">
  26. <label for="paymentmethod" class="control-label">{$LANG.orderpaymentmethod}:</label>
  27. <br>
  28. <select name="paymentmethod" id="paymentmethod" class="form-control">
  29. {foreach from=$gateways item=gateway}
  30. <option value="{$gateway.sysname}">{$gateway.name}</option>
  31. {/foreach}
  32. </select>
  33. </div>
  34. <button type="submit" value="{$LANG.masspaymakepayment}" class="btn btn-primary btn-block">
  35. <span>{$LANG.masspaymakepayment}</span>
  36. </button>
  37. </fieldset>
  38. </form>
  39. </div>
  40. </div>
  41. {/if}