<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Student Report</title>
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css">
</head>
<body>
    <div class="row">
        <div class="col-md-12 col-sm-12 text-sm ">
            <table class="table table-sm text-center table-bordered">
                <thead>
                    <tr>
                        <th>SL</th>
                        <th>Ref. No</th>
                        <th>Date</th>
                        <th>Student</th>
                        <th>Batch</th>
                        <th>Year</th>
                        <th>Amount</th>
                        <th>Discount</th>
                        <th>Due</th>
                        <th>Received</th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($loop->iteration); ?></td>
                            <td><?php echo e($payment->ref_no); ?></td>
                            <td><?php echo e(date('d-M,y', strtotime($payment->payment_date))); ?></td>
                            <td><?php echo e($payment->student->student_name); ?></td>
                            <td><?php echo e($payment->student->batch->batch_name); ?></td>
                            <td><?php echo e($payment->payment_year); ?></td>
                            <td><?php echo e($payment->amount ?? 0); ?></td>
                            <td><?php echo e($payment->discount ?? 0); ?></td>
                            <td><?php echo e($payment->due ?? 0); ?></td>
                            <td><?php echo e($payment->payment_received->name ?? "N/A"); ?></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tbody>
            </table>
        </div>
    </div>
</body>
</html><?php /**PATH /home/spanmmdr/smartqb.info/resources/views/pages/reports/payment_pdf.blade.php ENDPATH**/ ?>