<table>
    <thead>
        <tr>
            <th>Tanggal</th>
            <th>Kode Booking</th>
            <th>Customer</th>
            <th>Lapangan</th>
            <th>Jam</th>
            <th>Total</th>
            <th>Status</th>
            <th>Payment</th>
        </tr>
    </thead>
    <tbody>
        <?php $__empty_1 = true; $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <tr>
                <td><?php echo e($payment->created_at->format('Y-m-d')); ?></td>
                <td>BK<?php echo e(str_pad($payment->booking_id, 3, '0', STR_PAD_LEFT)); ?></td>
                <td><?php echo e($payment->booking->user->name ?? 'Unknown'); ?></td>
                <td><?php echo e($payment->booking->lapangan->nama ?? 'Unknown'); ?></td>
                <td><?php echo e($payment->booking->jam_mulai->format('H:i')); ?>-<?php echo e($payment->booking->jam_selesai->format('H:i')); ?></td>
                <td><?php echo e(formatRupiah($payment->jumlah)); ?></td>
                <td><?php echo e(ucfirst($payment->booking->status)); ?></td>
                <td><?php echo e(ucfirst($payment->status)); ?></td>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
            <tr>
                <td colspan="8" class="text-center">Tidak ada data transaksi</td>
            </tr>
        <?php endif; ?>
    </tbody>
</table>
<?php /**PATH C:\Users\User\Documents\Projek Kelas 12\Manfutsal\resources\views/exports/keuangan_excel.blade.php ENDPATH**/ ?>