 <?php $__env->startSection('content'); ?>

<div class="card mb-3">
    <div class="card-header">
        <div class="row flex-between-end">
            <div class="col-auto align-self-center">
                <h5 class="mb-0" data-anchor="data-anchor">List of deleted payments</h5>
            </div>
        </div>
    </div>
    <div class="card-body pt-0">
        <div id="tableExample2" data-list='{"valueNames":["id", "date", "member_id","name","amount", "method"],"page":10,"pagination":true}'>
            <div class="table-responsive scrollbar">
                <small>
                    <table id="basic-btn" class="table table-sm table-striped table-bordered nowrap">
                        <thead class="bg-200 text-900">
                            <tr>                              
                                <th>ID</th>
                                <th>Member Nat ID</th>
                                <th>Date</th>                              
                                <th>Amount</th>
                                <th># of months</th>
                                <th>Payment Method</th>
                                <th>Deleted By</th>
                                <th>Date and time</th>
                            </tr>
                        </thead>
                        <tbody class="list">
                            <?php $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>                               
                                <td><?php echo e($payment->id); ?></td>
                                <td><?php echo e($payment->member->national_id); ?></td>
                                <td><?php echo e($payment->payment_date); ?></td>                            
                                <td><?php echo e($payment->amount_paid); ?></td>
                                <td><?php echo e($payment->months); ?></td>
                                <td><?php echo e($payment->mode->name); ?></td>
                                <td><?php echo e($payment->by->name); ?> <?php echo e($payment->by->surname); ?></td>
                                <td><?php echo e($payment->created_at); ?></td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </small>
            </div>
            <div class="d-flex justify-content-center mt-3"><button class="btn btn-sm btn-falcon-default me-1" type="button" title="Previous" data-list-pagination="prev"><span class="fas fa-chevron-left"></span></button>
                <ul class="pagination mb-0"></ul><button class="btn btn-sm btn-falcon-default ms-1" type="button" title="Next" data-list-pagination="next"><span class="fas fa-chevron-right"> </span></button>
            </div>
        </div>
    </div>

</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\WORK-STATION\MBBS\Insurance-Version Controls\03-01-2026\resources\views/payments/deleted_payments.blade.php ENDPATH**/ ?>