JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "f81425f8ccda4713e1873742641502f0.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/storage/framework/f81425f8ccda4713e1873742641502f0.php
File size: 2.32 KB
MIME-type: text/x-php
Charset: utf-8

<?php $amount = $payment_details['payable_amount']; ?>


<?php
    $model = $payment_details['success_method']['model_name'];
    if ($model == 'InstructorPayment') {
        $settings = DB::table('users')
            ->where('id', $payment_details['items'][0]['id'])
            ->value('paymentkeys');

        $keys = isset($settings) ? json_decode($settings) : null;

        if ($keys) {
            $bank_information = $keys->offline->bank_information;
        }

        if ($bank_information == '') {
            $msg = "This payment gateway isn't configured.";
        }
    } else {
        $payment_keys = json_decode($payment_gateway->keys, true);
        $bank_information = '';

        if ($payment_keys != '') {
            if ($payment_gateway->status == 1) {
                $bank_information = $payment_keys['bank_information'];
                
                if ($bank_information == '') {
                    $msg = get_phrase("This payment gateway isn't configured.");
                }
            } else {
                $msg = get_phrase('Admin denied transaction through this gateway.');
            }
        } else {
            $msg = get_phrase("This payment gateway isn't configured.");
        }
    }
?>

<div class="row my-5">
    <div class="col-md-12 text-start">
        <?php echo $bank_information; ?>

    </div>
</div>
<form action="<?php echo e(route('payment.offline.store')); ?>" method="post" enctype="multipart/form-data"><?php echo csrf_field(); ?>
    <div class="mb-3">
        <label for="" class="form-label d-flex justify-content-between">
            <span><?php echo e(get_phrase('Payment Document')); ?></span>
            <span><?php echo e(get_phrase('(jpg, pdf, txt, png, docx)')); ?></span>
        </label>
        <input type="hidden" name="item_type" value="course" required>
        <input type="file" name="doc" class="form-control" required>
		<div class="mt-2 text-left"><label><input type="checkbox" name="agree" required> Please agree to the terms and conditions before proceeding to checkout.</label></div>
    </div>

    <input type="submit" class="btn btn-primary" value="<?php echo e(get_phrase('Pay offline')); ?>">
</form>
<?php /**PATH /home/palsarh/web/palsarh.in/public_html/resources/views/payment/offline/index.blade.php ENDPATH**/ ?>