<section class="card">
    <div class="card-header">
        <div class="row">
            <div class="col-md-6">
                <h3 class="card-title">
                    Last 10 Payment Report
                    <?php echo e(date('M')); ?>

                    <?php echo e(date('Y')); ?>

                </h3>
            </div>
            <div class="col-md-6">
                <div class="float-right">
                    <a href="<?php echo e(route('paymentReport')); ?>" class="btn btn-info">
                        Payment Report
                    </a>
                </div>
            </div>
        </div>
        
    </div>

    <div class="card-body">
        <div class="table-responsive">
            <table class="table table-hover table-responsive-lg ">
                <thead>
                    <tr>
                        <th scope="col" class="h6">Client CID</th>
                        <th scope="col" class="h6">Client Id</th>
                        <th scope="col" class="h6">Name</th>
                        <th scope="col" class="h6">Collected By</th>
                        <th scope="col" class="h6 text-left">Payment Amount</th>
                        <th scope="col" class="h6 text-left">Payment Description</th>
                        <th scope="col" class="h6">Payemnt Method</th>
                        <th scope="col" class="h6">Date Time</th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__currentLoopData = $paymentReport; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            
                            <td><button type="button" class="btn btn-info btn-sm">CID : <?php echo e($payment->clients->id); ?></button></td>
                            <td><?php echo e($payment->clients->userid); ?></td>
                            <td><?php echo e($payment->clientsinfo->clients_name); ?></td>
                            <td><?php echo e($payment->employee->name); ?></td>
                            <td><?php echo e($payment->paid_amount); ?></td>
                            <td><?php echo e($payment->description); ?></td>
                            <td><?php echo e($payment->payment_method); ?></td>
                            <td style="min-width: 200px;"><?php echo e($payment->created_at->format('M d, Y h:i a')); ?></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tbody>
            </table>
        </div>
    </div>


</section>

<style>
    .card-title {
        font-size: 32px !important;
        text-align: center !important;
        letter-spacing: 0.10rem;
        font-weight: 500;
    }

    .manager-bg {
        background-color: rgb(221 214 254 / 0.05);
        --tw-text-opacity: 1;
        color: rgb(3 7 18 / var(--tw-text-opacity));
    }

    .table-data {
        background-color: rgb(255 241 242 / 0.5);
        --tw-text-opacity: 1;
        color: rgb(15 23 42 / var(--tw-text-opacity));
    }
</style>
<?php /**PATH /var/www/html/rk/radius-circle/resources/views/dashboard/new/paymentReport.blade.php ENDPATH**/ ?>