Server IP : 213.176.29.180  /  Your IP : 3.138.105.164
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/whmcs/certs/../feeds/../templates/twenty-one/payment/bank/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/whmcs/certs/../feeds/../templates/twenty-one/payment/bank/select.tpl
{if count($existingAccounts) > 0}
    <div class="two-column-grid">
        {foreach $existingAccounts as $bankAccount}
            {assign "payMethod" $bankAccount.payMethod nocache}
            <div class="paymethod-info" data-paymethod-id="{$bankAccount.paymethodid}">
                <input
                        id="existingAccount{$bankAccount.paymethodid}"
                        type="radio"
                        name="paymethod"
                        class="existing-account icheck-button"
                        data-billing-contact-id="{$bankAccount.billingcontactid}"
                        {if $existingAccount && $payMethodId eq $bankAccount.paymethodid}
                            {assign "preselectedBillingContactId" {$bankAccount.billingcontactid}}
                            checked="checked"
                            data-loaded-paymethod="true"
                        {elseif !$existingAccount}
                            disabled="disabled"
                        {/if}
                        {if !$hasRemoteInput}onclick="hideNewAccountInputFields();"{/if}
                        value="{$bankAccount.paymethodid}"
                >
            </div>
            <div class="paymethod-info" data-paymethod-id="{$bankAccount.paymethodid}">
                <label for="existingAccount{$bankAccount.paymethodid}">
                    <i class="{$payMethod->getFontAwesomeIcon()}"></i>
                </label>
            </div>
            <div class="paymethod-info" data-paymethod-id="{$bankAccount.paymethodid}">
                <label for="existingAccount{$bankAccount.paymethodid}">
                    {$payMethod->payment->getDisplayName()}
                </label>
            </div>
            <div class="paymethod-info" data-paymethod-id="{$bankAccount.paymethodid}">
                <label for="existingAccount{$bankAccount.paymethodid}">
                    {$payMethod->getDescription()}
                </label>
            </div>
        {/foreach}
    </div>
{/if}
<div class="paymethod-info">
    <label>
        <input id="newAccountInfo"
               type="radio"
               class="icheck-button"
               name="paymethod"
               value="new"
               {if $payMethodId eq "new" || !$existingAccount} checked="checked"{/if}
        >
        {lang key='paymentMethods.addNewBank'}
    </label>
</div>