
<?php $__env->startSection('content'); ?>
<div class="row">
    <div class="col-lg-3" >
        <div class="card border m-b-20" style="border-radius: 5px;">
            <div class="card-body" style="padding-top: 5px;padding-bottom: 5px;">
                <div class="row align-items-center">
                    <div class="col-12">
                        <h5 style="font-weight:bold;color: #fff;margin-top: 1rem!important;margin-bottom: 2px;">Buy Pack </h5> 
                        <span style="color:#fff;" class="font-16 my-3">
                            Available Balance: <?php if($member_data->credit > 0): ?><a style="color:#4fffea;"><?php echo e($member_data->credit); ?></a> <?php else: ?> <a style="color:red;">0.00</a> <?php endif; ?>
                        </span>
                    </div>
                </div>
                <div class="row align-items-center">
                    <div class="col-12">
                        <img style="width:100%;padding-top: 20px;" src="<?php echo e(URL::to($pak_data->image)); ?>">
                        <p style="color:#fff;" class="font-16 my-3">
                            <?php echo e($pak_data->title); ?><br>
                            Price: <a style="color:#4fffea;"><?php echo e($pak_data->price); ?></a>
                        </p>

                        <input type="hidden" name="price" id="price" value="<?php echo e($pak_data->price); ?>">

                        <form action="<?php echo e(url('buypk')); ?>" method="post"><?php echo csrf_field(); ?>
                            <input type="hidden" name="pak_id" value="<?php echo e($pak_data->id); ?>">

                            <select style="height: 32px; border: 1px solid #e0e0e0; border-radius: 20px; width: 100%; background: #083555; color: #ffffff; text-align: center; margin-bottom: 8px;" class="select" name="btype" id="btype" required>
                                <option value="">Order Type</option>
                                <option value="1">Pre Order</option>
                                <option value="2">Paid Order</option>
                            </select>

                            <input style="border-radius: 20px;width: 100%;text-align: center;margin-bottom: 10px;height: 30px;background: #216ca224;border: 1px solid #ffffff;color: white;" type="text" name="qty" id="bqty" min="1" value="1" placeholder="QTY" required>

                            <button id="ST" type="submit" style="width: 100%; margin-bottom: 15px;height: 30px;background: #ff7b7b;color: #000;border-radius: 20px;font-size: 12px;line-height: 10px; padding: 2px 15px; font-weight: 600;" class="btn">PAY: <span style="font-family: system-ui;">৳</span><span id="payamnt">1000</span></button>

                            <button id="FS" type="submit" style="width: 100%; margin-bottom: 15px;height: 30px;background: #ff7b7b;color: #000;border-radius: 20px;font-size: 12px;line-height: 10px; padding: 2px 15px; font-weight: 600;display: none;" class="btn">PAY: <span style="font-family: system-ui;">৳</span><span id="payamnts"><?php echo e($pak_data->price); ?></span></button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('member.layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ebs/public_html/resources/views/member/buypak.blade.php ENDPATH**/ ?>