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

File "9fe594bf3cfde2ec587a388c873a54e5.php"

Full Path: /home/ambitio2/public_html/storage/framework/views/9fe594bf3cfde2ec587a388c873a54e5.php
File size: 3.84 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 = '';
        $bkash_information = '';
        $nagad_information = '';
        

        if ($payment_keys != '') {
            if ($payment_gateway->status == 1) {
                $bank_information = $payment_keys['bank_information'];
                $bkash_information = $payment_keys['bkash_information']; // added by me
                $nagad_information = $payment_keys['nagad_information']; // added by me
                
                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 text-start py-5">
    <!-- Bank Account Info -->
    <div class="col-md-7">
        <div class="card border-success">
            <div class="card-header bg-success text-white">Bank Account Information</div>
            <div class="card-body">
                <p><strong>A/C Name:</strong> A B M Monsur Ali Khan</p>
                <p><strong>A/C No:</strong> 0022-0310063584</p>
                <p><strong>Bank:</strong> Trust Bank Limited</p>
                <p><strong>Branch:</strong> Millennium Corporate</p>
            </div>
        </div>
    </div>

    <!-- Mobile Banking Info -->
    <div class="col-md-5">
        <div class="card border-success">
            <div class="card-header bg-success text-white">Mobile Banking</div>
            <div class="card-body">
                <p><strong>Bkash Personal:</strong> 01339302938</p>
                
            </div>
        </div>
    </div>
</div>

<form action="<?php echo e(route('payment.offline.store')); ?>" method="post" enctype="multipart/form-data"><?php echo csrf_field(); ?>
    
     <div class="row">
        <div class="col-md-5">
            
            <div class="mb-3">
                <label for="transaction_id" class="form-label d-flex justify-content-start">Transaction ID</label>
                <input type="text" name="transaction_id" class="form-control">
            </div>
        </div>
        <div class="col-md-1 align-self-center">
            <div class="form-label d-flex justify-content-between">
                <hr><span>or</span>
                <hr>
            </div>   
        </div>
        <div class="col-md-6">
            <div class="mb-3">
                <label for="" class="form-label d-flex justify-content-between">
                    <span><?php echo e(get_phrase('Document')); ?></span>
                    <span><?php echo e(get_phrase('(jpg, png, pdf,)')); ?></span>
                </label>
                <input type="hidden" name="item_type" value="<?php echo e($payment_details['custom_field']['item_type'] ?? 'course'); ?>" required>
                <input type="file" name="doc" class="form-control">
            </div>
        </div>
     </div>
              
    <input type="submit" class="btn btn-primary" value="<?php echo e(get_phrase('Submit Payment')); ?>">
</form>
<?php /**PATH /home/ambitio2/public_html/resources/views/payment/offline/index.blade.php ENDPATH**/ ?>