
<?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;">Add Fund Request</h5>
            </div>
            <div class="card-body">
             
                
            <div class="table-responsive">
                <table id="datatable" class="display table table-striped table-bordered" style="width: 100%;">
                        <thead style="background: #1f3740;">
                            <tr>
                                <th style="text-align: center; color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;">No.</th>
                                <th style="color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;min-width: 150px;">Issute Date</th>
                                <th style="color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;">Username</th>
                                <th style="text-align: center; color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;min-width: 90px;">Mobile</th>
                                <th style="text-align: center; color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;min-width: 90px;">Method</th>
                                <th style="text-align: center; color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;">Amount</th>
                                <th style="text-align: center; color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;">Account</th>
                                <th style="text-align: center; color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;">Status</th>
                                <th style="text-align: center; color: #fff;padding-top: 3px;padding-bottom: 3px;font-size: 13px;">Action</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php $no=1; ?>
                            <?php $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pay): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center; color: azure;"><?php echo e($no++); ?></td>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;"><?php echo e($pay->created_at); ?></td>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;color: azure;"><?php echo e($pay->username); ?></td>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center; color: azure;"><?php echo e($pay->user_mobile); ?></td>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center;color: azure;"><?php echo e($pay->payment_method); ?></td>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center;color: azure;"><?php echo e($pay->amount); ?></td>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center;color: azure;"><?php echo e($pay->account); ?></td>

                                <?php if($pay->status == 0): ?>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center; color: red;">Pending</td>
                                <?php elseif($pay->status == 1): ?>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center; color: #a7fff1;">Paid</td>
                                <?php else: ?>
                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center; color: red;">Rejected</td>
                                <?php endif; ?>

                                <td style="padding-top: 3px;padding-bottom: 3px;font-size: 13px;text-align: center; color: #fff !important;">
                                    <?php if($pay->status == 0): ?>
                                    <a href="<?php echo e(url('admin/afmng/'.$pay->id)); ?>"><button class="btn btn-sm btn-danger" style="height: 24px; margin-bottom: 2px; font-size:10px;border-radius: 20px;line-height: 12px;background: #f11a8b;border: 1px solid #1e0429;">Manage</button></a>
                                    <?php else: ?>
                                    <button class="btn btn-sm btn-warning" style="height: 24px; margin-bottom: 2px; font-size:10px;border-radius: 20px;line-height: 12px;background: #216ca2;border: 1px solid #1e0429;">Done</button> 
                                    <?php endif; ?> 
                                </td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody> 
                    </table>
                </div>
            </div>
        </div>
    </div>
    <!-- End col -->
   
</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/balreq.blade.php ENDPATH**/ ?>