Server IP : 213.176.29.180  /  Your IP : 18.118.154.78
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/webtaragh/public_html/webtaragh.ir/../whmcs/templates/twenty-one/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/webtaragh.ir/../whmcs/templates/twenty-one/masspay.tpl
<form method="post" action="clientarea.php?action=masspay">
    <input type="hidden" name="geninvoice" value="true" />

    <div class="card">
        <div class="card-body">
            <h3 class="card-title">{lang key="masspaytitle"}</h3>
            <p class="text-muted">{lang key="masspaydescription"}</p>

            <table class="table">
                <thead>
                    <tr>
                        <th>{lang key='invoicesdescription'}</th>
                        <th>{lang key='invoicesamount'}</th>
                    </tr>
                </thead>
                <tbody>
                    {foreach $invoiceitems as $invid => $invoiceitem}
                        <tr>
                            <td colspan="2" class="bg-default">
                                <strong>{lang key='invoicenumber'} {if $invoiceitem.0.invoicenum}{$invoiceitem.0.invoicenum}{else}{$invid}{/if}</strong>
                                <input type="hidden" name="invoiceids[]" value="{$invid}" />
                            </td>
                        </tr>
                        {foreach from=$invoiceitem item=item}
                            <tr class="masspay-invoice-detail">
                                <td>{$item.description}</td>
                                <td>{$item.amount}</td>
                            </tr>
                        {/foreach}
                    {foreachelse}
                        <tr>
                            <td colspan="6" align="center">{lang key='norecordsfound'}</td>
                        </tr>
                    {/foreach}
                    <tr class="masspay-total">
                        <td class="text-right">{lang key='invoicessubtotal'}:</td>
                        <td>{$subtotal}</td>
                    </tr>
                    {if $tax}
                        <tr class="masspay-total">
                            <td class="text-right">{$taxrate1}% {$taxname1}:</td>
                            <td>{$tax}</td>
                        </tr>
                    {/if}
                    {if $tax2}
                        <tr class="masspay-total">
                            <td class="text-right">{$taxrate2}% {$taxname2}:</td>
                            <td>{$tax2}</td>
                        </tr>
                    {/if}
                    {if $credit}
                        <tr class="masspay-total">
                            <td class="text-right">{lang key='invoicescredit'}:</td>
                            <td>{$credit}</td>
                        </tr>
                    {/if}
                    {if $partialpayments}
                        <tr class="masspay-total">
                            <td class="text-right">{lang key='invoicespartialpayments'}:</td>
                            <td>{$partialpayments}</td>
                        </tr>
                    {/if}
                    <tr class="masspay-total">
                        <td class="text-right">{lang key='invoicestotaldue'}:</td>
                        <td>{$total}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="row">
        <div class="col-sm-6 offset-sm-3">
            <div class="card bg-default">
                <div class="card-header">
                    <h3 class="card-title m-0">{lang key='masspaymentselectgateway'}</h3>
                </div>
                <div class="card-body">
                    <fieldset>
                        <div class="col-md-12">
                            <div class="form-group">
                                <label for="paymentmethod" class="col-form-label">{lang key='orderpaymentmethod'}:</label><br/>
                                <select name="paymentmethod" id="paymentmethod" class="form-control custom-select">
                                    {foreach $gateways as $gateway}
                                        <option value="{$gateway.sysname}">{$gateway.name}</option>
                                    {/foreach}
                                </select>
                            </div>
                            <div class="form-group">
                                <button type="submit" class="btn btn-primary btn-block" id="btnMassPayMakePayment">
                                    {lang key='masspaymakepayment'}
                                </button>
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
        </div>
    </div>

</form>