<?php $__env->startSection('content'); ?>
    <div class="content-wrapper">
        <div class="container-full">
            <!-- Content Header (Page header) -->
            <div class="content-header d-none d-md-block d-lg-block">
                <div class="d-flex align-items-center">
                    <div class="me-auto">
                        <h4 class="page-title"><?php echo e($admin->email); ?></h4>
                        <div class="d-inline-block align-items-center">
                            <nav>
                                <ol class="breadcrumb">
                                    <li class="breadcrumb-item"><a href="/"><i class="fa fa-home"
                                                aria-hidden="true"></i></a></li>
                                    <li class="breadcrumb-item" aria-current="page"><?php echo e($title); ?></li>
                                </ol>
                            </nav>
                        </div>
                    </div>

                </div>
            </div> <!-- Main content -->
            <section class="content">
                <div class="row">
                    <div class="col-sm-12 col-md-12">
                        <ul class="list-group">
                            <?php $__empty_1 = true; $__currentLoopData = $loans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $loan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                <li class="list-group-item d-flex justify-content-between align-items-start">
                                    <a class="list-group-item list-group-item-action d-flex justify-content-between align-items-start"
                                        href="<?php echo e(route('admin.loan.show', $loan->uuid)); ?>">
                                        <div>
                                            <strong>Name:<?php echo e($loan->name); ?></strong>
                                            <span class="d-block text-primary">Occupation:
                                                <?php echo e($loan->occupation); ?><br>
                                                Type: <?php echo e($loan->type); ?> <br>
                                                Status: <?php echo e($loan->status == 0 ? 'Pending' : 'Approved'); ?> <br>
                                            </span>
                                        </div>
                                        <span class="badge badge-primary">
                                            <?php echo e($loan->created_at); ?> </span>
                                    </a>
                                </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                <div class="alert alert-warning" role="alert">
                                    <strong>No loan requests yet</strong>
                                </div>
                            <?php endif; ?>
                        </ul>
                    </div>
                </div>
            </section>
            <!-- /.content -->
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\projects\online-banking-v4.1\resources\views\dashboard\admin\loan\index.blade.php ENDPATH**/ ?>