

<?php $__env->startSection('content'); ?>
<!-- content @s -->
                <div class="nk-content nk-content-fluid">
                    <div class="container-xl wide-lg">
                        <div class="nk-content-body">
                            <div class="nk-block-head nk-block-head-sm">
                                <div class="nk-block-between">
                                    <div class="nk-block-head-content">
                                        <h3 class="nk-block-title page-title">Update Card</h3>
                                        <div class="nk-block-des text-soft">
                                             
                                        </div>
                                    </div><!-- .nk-block-head-content -->
                                    
                                </div><!-- .nk-block-between -->
                            </div><!-- .nk-block-head -->
                            <div class="nk-block">
                                <div class="card card-bordered card-stretch">
                                    <div class="card-inner-group" style="
    padding: 20px;
">
                                         
                                        <div class="card-inner p-0">
                                            <div class="nk-tb-list nk-tb-ulist">
                                                
                                                    
                                                     
    <form action="<?php echo e(route('admin.cards.update', $card->id)); ?>" method="POST" class="form-validate is-alter">
                <?php echo csrf_field(); ?>
                 
                        <div class="form-group">
                            <label class="form-label" for="full-name">Name</label>
                            <div class="form-control-wrap">
                                <input type="text" class="form-control" id="full-name" readonly value="<?php echo e($card->user->name ?? 'No User'); ?>" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="form-label" for="full-name">Card Number</label>
                            <div class="form-control-wrap">
                                <input type="text" class="form-control" id="full-name" readonly name="card_number" value="<?php echo e($card->card_number); ?>" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="form-label" for="full-name">Card Exp</label>
                            <div class="form-control-wrap">
                                <input type="text" class="form-control" id="full-name" readonly name="card_exp_number" value="<?php echo e($card->card_exp_number); ?>" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="form-label" for="full-name">Card CVV</label>
                            <div class="form-control-wrap">
                                <input type="text" class="form-control" id="full-name" readonly name="card_cvv" value="<?php echo e($card->card_cvv); ?>" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="form-label" for="full-name">Card Type</label>
                            <div class="form-control-wrap">
                                <input type="text" class="form-control" id="full-name" readonly name="card_type" value="<?php echo e($card->card_type); ?>" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="form-label" for="username">Card Status</label>
                            <div class="form-control-wrap">
                                <select name="status" class="form-control">
            <option value="1" <?php echo e($card->card_status == '1' ? 'selected' : ''); ?>>Active</option>
            <option value="2" <?php echo e($card->card_status == '2' ? 'selected' : ''); ?>>Pending</option>
            <option value="3" <?php echo e($card->card_status == '3' ? 'selected' : ''); ?>>Reject</option>
            <option value="4" <?php echo e($card->card_status == '4' ? 'selected' : ''); ?>>Closed</option>
        </select>
                            </div>
                        </div>
                         
                         
                        <div class="form-group">
                            <button type="submit" class="btn btn-lg btn-primary">Updated Card</button>
                        </div>
                    </form>
                    
                      </div><!-- .nk-tb-list -->
                                        </div><!-- .card-inner -->
                                        <div class="card-inner">
                                            <div class="nk-block-between-md g-3">
                                                <div class="g">
                                               <!--     <ul class="pagination justi 
                                            </div><!-- .nk-block-between -->
                                        </div><!-- .card-inner -->
                                    </div><!-- .card-inner-group -->
                                </div><!-- .card -->
                            </div><!-- .nk-block -->
                        </div>
                    </div>
                </div>
                <!-- content @e -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/qfsworl3/public_html/resources/views/admin/cards/edit.blade.php ENDPATH**/ ?>