<?php echo $__env->make('layout.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<div class="recharge transaction">
    <!-- HEADER -->
    <nav class="top_nav">
        <div class="left">
            <a href="<?php echo e(url('/user/dashboard')); ?>"><img src="<?php echo e(asset('assets/img/back_arrow.png')); ?>" alt="" />
            </a>
            <span>Bank Detail</span>
        </div>
        <div class="right">
            <a href="<?php echo e(url('/user/addBankCard')); ?>">
                <i class="bi bi-plus-circle" style="font-size: 25px;"></i>
            </a>
        </div>
    </nav>
    <!-- HEADER -->

    <!-- TABLE -->
    <div class="recharge_box">
        <div class="completed_list">
            <ul class="list_box list-unstyled">
                <?php if(count($banks) > 0): ?>
                <?php $__currentLoopData = $banks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bank): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li>
                    <ol>
                        <p>Bank</p>
                        <p><?php echo e($bank->name); ?></p>
                    </ol>
                    <ol>
                        <p>Bank Name</p>
                        <p><?php echo e($bank->bank_name); ?></p>
                    </ol>
                    <ol>
                        <p>IFSC</p>
                        <p><?php echo e($bank->ifsc); ?></p>
                    </ol>
                    <ol>
                        <p>Account</p>
                        <p><?php echo e($bank->account); ?></p>
                    </ol>
                    <ol>
                        <p>Action</p>
                        <div>
                            <p>
                                <a href="<?php echo e(url('/user/edit/bankCard/'.$bank->id)); ?>" class="gocode m-t-12 m-b-12">Edit</a>&nbsp;
                                <a href="<?php echo e(url('/user/delete/bankCard/'.$bank->id)); ?>" class="gocode m-t-12 m-b-12">Delete</a>
                            </p>
                        </div>
                    </ol>

                </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php else: ?>
                        <p class="text-center">No Banks Added.</p>
                <?php endif; ?>


            </ul>
        </div>
        <!---->

        <!--		Start Pagination -->
        <div class="pagination-container d-flex justify-content-center">
            <nav class="d-flex justify-content-center gap-3">
                <?php echo e($banks->links('userDashboard.pagination')); ?>


            </nav>
        </div>
    </div>
</div>
<!-- TABLE -->
</div>




<?php echo $__env->make('layout.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/shyambabamatka/public_html/zupitogames.com/resources/views/userDashboard/bank-card.blade.php ENDPATH**/ ?>