
<?php $__env->startSection('content'); ?>
<div class="row">
    <div class="col-lg-12" style="padding-left: 4px;padding-right: 4px;">
        <div class="card m-b-30" style="border-radius: 5px;">
            <div class="card-header">
                <h5 class="card-title" style="font-weight: bold; padding-top: 15px; font-size: 20px;">KYC Manage</h5>
            </div>
            <div class="card-body" style="padding-bottom: 50px;">
               
                <div class="col-md-6">
                    <p>
                        <a style="color: azure;padding-right: 7px;">Username:</a> <?php echo e($member->username); ?><br> 
                        <a style="color: azure;padding-right: 7px;">Name:</a> <?php echo e($member->name); ?><br> 
                        <a style="color: azure;padding-right: 7px;">Mobile:</a> <?php echo e($member->mobile); ?><br>
                        <a style="color: azure;padding-right: 7px;">NID No:</a> <?php echo e($member->nid); ?><br> 
                        <a style="color: azure;padding-right: 7px;">Status:</a> <?php if($member->status == 0): ?> Pending <?php else: ?> Approved <?php endif; ?><br>
                    </p>

                    <?php $__currentLoopData = $imgs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $img): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <img style="width: 250px; height: auto; padding: 5px; border-radius: 15px; border: 1px solid gray;margin-bottom: 10px;" src="<?php echo e(URL::to($img->img)); ?>">
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div> 

                <?php if($member->kyc == 0): ?>
                <form method="post" action="<?php echo e(url('admin/kycmng/aprov')); ?>"><?php echo csrf_field(); ?>
                    <input type="hidden" name="uid" value="<?php echo e($member->id); ?>">

                    <div class="col-md-4" style="padding-top: 20px">
                        <label class="form-label">Select Status*</label>
                        <select style="background: transparent;color: #c3c3c3;width: 100%;" class="form-control" id="status" name="status" required>
                            <option value="1">Approve KYC</option>
                            <option value="2">Reject KYC</option>
                        </select>
                    </div>

                    <div class="col-md-4" style="padding-top: 20px">
                        <label class="form-label">Remark*</label>
                        <input style="margin-bottom: 10px;height: 38px;" style="background: transparent;color: #c3c3c3;" type="text" class="form-control" id="remark" name="remark">
                    </div>

                    <div class="col-md-4" style="padding-top: 20px">
                        <label class="form-label">Admin PIN*</label>
                        <input style="margin-bottom: 10px;height: 38px;" style="background: transparent;color: #c3c3c3;" type="password" class="form-control" id="pin" name="pin" required>
                    </div>

                    <div class="col-md-4" style="padding-top: 20px">
                        <button style="height: 38px;background: #ec1666;color: #fff;" type="submit" class="btn">Confirm Now</button>
                    </div>

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