masspay.tpl 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {*
  2. **********************************************************
  3. * Developed by: Team Theme Metro
  4. * Website: http://www.thememetro.com
  5. **********************************************************
  6. *}
  7. <form method="post" action="clientarea.php?action=masspay">
  8. <input type="hidden" name="geninvoice" value="true" />
  9. {*
  10. <h4>{$LANG.masspaymentselectgateway}</h4>
  11. <div class="row">
  12. <div class="col-sm-6">
  13. <div class="TM-card">
  14. <fieldset>
  15. <div class="form-group">
  16. <label for="paymentmethod" class="control-label">{$LANG.orderpaymentmethod}:</label><br/>
  17. <select name="paymentmethod" id="paymentmethod" class="form-control">
  18. {foreach $gateways as $gateway}
  19. <option value="{$gateway.sysname}">{$gateway.name}</option>
  20. {/foreach}
  21. </select>
  22. </div>
  23. <div class="form-group">
  24. <input type="submit" value="{$LANG.masspaymakepayment}" class="btn btn-primary btn-block" />
  25. </div>
  26. </fieldset>
  27. </div>
  28. </div>
  29. </div>
  30. *}
  31. <h4>{$clientsstats.numunpaidinvoices} {$LANG.clientHomePanels.unpaidInvoices}</h4>
  32. <div class="TM-card">
  33. <table class="table table-condensed table-hover table-masspay">
  34. <thead>
  35. <tr>
  36. <th>{$LANG.invoicesdescription}</th>
  37. <th>{$LANG.invoicesamount}</th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. {foreach $invoiceitems as $invid => $invoiceitem}
  42. <tr>
  43. <td colspan="2">
  44. <a href="viewinvoice.php?id={$invid}">
  45. <h5><i class="fal fa-external-link"></i>{$LANG.invoicenumber} {if $invoiceitem.0.invoicenum}{$invoiceitem.0.invoicenum}{else}{$invid}{/if}</h5>
  46. </a>
  47. <input type="hidden" name="invoiceids[]" value="{$invid}" />
  48. </td>
  49. </tr>
  50. {foreach from=$invoiceitem item=item}
  51. <tr class="item-description">
  52. <td>{$item.description}</td>
  53. <td>{$item.amount}</td>
  54. </tr>
  55. {/foreach}
  56. {foreachelse}
  57. <tr>
  58. <td colspan="6" align="center">{$LANG.norecordsfound}</td>
  59. </tr>
  60. {/foreach}
  61. <tr class="masspay-total">
  62. <td class="text-right">{$LANG.invoicessubtotal}:</td>
  63. <td>{$subtotal}</td>
  64. </tr>
  65. {if $tax}
  66. <tr class="masspay-total">
  67. <td class="text-right">{$taxrate1}% {$taxname1}:</td>
  68. <td>{$tax}</td>
  69. </tr>
  70. {/if}
  71. {if $tax2}
  72. <tr class="masspay-total">
  73. <td class="text-right">{$taxrate2}% {$taxname2}:</td>
  74. <td>{$tax2}</td>
  75. </tr>
  76. {/if}
  77. {if $credit}
  78. <tr class="masspay-total">
  79. <td class="text-right">{$LANG.invoicescredit}:</td>
  80. <td>{$credit}</td>
  81. </tr>
  82. {/if}
  83. {if $partialpayments}
  84. <tr class="masspay-total">
  85. <td class="text-right">{$LANG.invoicespartialpayments}:</td>
  86. <td>{$partialpayments}</td>
  87. </tr>
  88. {/if}
  89. <tr class="masspay-total">
  90. <td class="text-right">{$LANG.invoicestotaldue}:</td>
  91. <td>{$total}</td>
  92. </tr>
  93. </tbody>
  94. </table>
  95. </div>
  96. </form>