<?php $__env->startSection('title', 'Payments'); ?>

<?php $__env->startSection('content'); ?>
<h1>Payment History</h1>
<table class="table">
    <thead>
        <tr>
            <th>Student</th>
            <th>Exam</th>
            <th>Amount</th>
            <th>Status</th>
            <th>Date</th>
        </tr>
    </thead>
    <tbody>
        <?php $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td><?php echo e($payment->user->name); ?></td>
            <td><?php echo e($payment->exam->name); ?></td>
            <td>$<?php echo e($payment->amount); ?></td>
            <td><?php echo e($payment->status); ?></td>
            <td><?php echo e($payment->created_at->format('Y-m-d')); ?></td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Kloudoz_project\WSglobe\online-exam-portal\resources\views/admin/payments.blade.php ENDPATH**/ ?>