ok

Mini Shell

Direktori : /home2/selectio/public_html/application/views/cart/payment_methods/
Upload File :
Current File : /home2/selectio/public_html/application/views/cart/payment_methods/_bank_transfer.php

<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<?php if ($cart_payment_method->payment_option == "bank_transfer"): ?>
    <!--PROMOTE SALES-->
    <?php if ($mds_payment_type == 'promote'): ?>
        <?php if ($cart_payment_method->payment_option == "bank_transfer"): ?>
            <?php echo form_open('bank-transfer-payment-post'); ?>
            <input type="hidden" name="mds_payment_type" value="<?php echo $mds_payment_type; ?>">
            <input type="hidden" name="payment_id" value="<?php echo $transaction_number; ?>">

            <div class="bank-account-container">
                <?php echo $this->payment_settings->bank_transfer_accounts; ?>
            </div>
            <div id="payment-button-container" class="payment-button-cnt">
                <p class="p-transaction-number"><span><?php echo trans("transaction_number"); ?>:&nbsp;<?php echo $transaction_number; ?></span></p>

                <p class="p-complete-payment"><?php echo trans("msg_promote_bank_transfer_text"); ?></p>
                <button type="submit" name="submit" value="update" class="btn btn-lg btn-custom btn-payment"><?php echo trans("place_order") ?></button>
            </div>
            <?php echo form_close(); ?>
        <?php endif; ?>
    <?php else: ?>
        <!--PRODUCT SALES-->
        <div class="row">
            <div class="col-12">
                <?php $this->load->view('product/_messages'); ?>
            </div>
        </div>
        <div class="bank-account-container">
            <?php echo $this->payment_settings->bank_transfer_accounts; ?>
            <p class="p-complete-payment"><?php echo trans("msg_bank_transfer_text"); ?></p>
        </div>
        <?php echo form_open('bank-transfer-payment-post'); ?>
        <input type="hidden" name="mds_payment_type" value="<?php echo $mds_payment_type; ?>">
        <div id="payment-button-container" class="payment-button-cnt">
            <button type="submit" name="submit" value="update" class="btn btn-lg btn-custom btn-payment"><?php echo trans("place_order") ?></button>
        </div>
        <?php echo form_close(); ?>
    <?php endif; ?>
<?php endif; ?>

<script>
    $('form').submit(function () {
        $(".btn-place-order").prop('disabled', true);
    });
</script>




Zerion Mini Shell 1.0