<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Transactions Report</title>
    <style>
        body { font-family: DejaVu Sans, sans-serif; font-size: 11px; color: #1a1a2e; }
        h1 { font-size: 18px; margin: 0 0 4px; }
        .meta { font-size: 10px; color: #555; margin-bottom: 14px; }
        .filters { margin-bottom: 12px; font-size: 10px; }
        table { width: 100%; border-collapse: collapse; }
        th, td { border: 1px solid #ccc; padding: 6px 8px; text-align: left; vertical-align: top; }
        th { background: #f0f0f8; font-weight: 700; }
        tr:nth-child(even) td { background: #fafafa; }
        .amount { text-align: right; white-space: nowrap; }
        .details { max-width: 200px; word-wrap: break-word; }
    </style>
</head>
<body>
    <h1>Transactions Report</h1>
    <p class="meta">Generated <?php echo e(now()->format('Y-m-d H:i:s')); ?> · <?php echo e($transactions->count()); ?> record(s)</p>

    <?php if(!empty($filters)): ?>
    <p class="filters"><strong>Filters:</strong> <?php echo e(implode(' · ', $filters)); ?></p>
    <?php endif; ?>

    <table>
        <thead>
            <tr>
                <th>ID</th>
                <th>User</th>
                <th>Email</th>
                <th>Type</th>
                <th>Details</th>
                <th>Amount</th>
                <th>Status</th>
                <th>Date</th>
            </tr>
        </thead>
        <tbody>
            <?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tx): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td><?php echo e($tx->id); ?></td>
                <td><?php echo e($tx->user?->name ?? '—'); ?></td>
                <td><?php echo e($tx->user?->email ?? '—'); ?></td>
                <td><?php echo e(str_replace('_', ' ', ucfirst($tx->type))); ?></td>
                <td class="details"><?php echo e($tx->details ?? '—'); ?></td>
                <td class="amount">$<?php echo e(number_format($tx->amount, 2)); ?></td>
                <td><?php echo e($tx->status->label()); ?></td>
                <td><?php echo e($tx->created_at->format('Y-m-d H:i')); ?></td>
            </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>
</body>
</html>
<?php /**PATH D:\SkyApps\Projects\Laravel_projects\web3derp\resources\views/admin/transactions/pdf.blade.php ENDPATH**/ ?>