<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Work Reports Summary</title>
    <style>
        body {
            font-family: 'Helvetica', sans-serif;
            font-size: 12px;
            color: #333;
        }

        .header {
            text-align: center;
            border-bottom: 2px solid #0d6efd;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }

        .logo {
            font-size: 20px;
            font-weight: bold;
            color: #0d6efd;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th {
            background: #f8f9fa;
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }

        td {
            border: 1px solid #ddd;
            padding: 8px;
        }

        .status-approved {
            color: #198754;
            font-weight: bold;
        }

        .status-pending {
            color: #ffc107;
            font-weight: bold;
        }

        .status-rejected {
            color: #dc3545;
            font-weight: bold;
        }

        .footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            text-align: center;
            font-size: 10px;
            color: #999;
        }
    </style>
</head>

<body>
    <div class="header">
        <div class="logo"><?php echo e(config('app.name', 'WorkFlow')); ?></div>
        <div style="font-size: 16px; margin-top: 5px;">Work Reports Summary List</div>
        <div style="font-size: 10px; color: #666;">Generated on: <?php echo e(date('d M, Y h:i A')); ?></div>
    </div>

    <table>
        <thead>
            <tr>
                <th>Employee</th>
                <th>Date</th>
                <th>Status</th>
                <th>Tasks</th>
                <th>Summary Snippet</th>
            </tr>
        </thead>
        <tbody>
            <?php $__currentLoopData = $reports; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $report): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td><?php echo e($report->user->name); ?></td>
                    <td><?php echo e($report->created_at->format('d M, Y')); ?></td>
                    <td>
                        <span class="status-<?php echo e($report->approval_status); ?>">
                            <?php echo e(ucfirst($report->approval_status)); ?>

                        </span>
                    </td>
                    <td><?php echo e($report->total_tasks); ?></td>
                    <td><?php echo e(Str::limit($report->raw_summary, 60)); ?></td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>

    <div class="footer">
        Confidential Document | <?php echo e(config('app.name')); ?> Admin Portal
    </div>
</body>

</html>
<?php /**PATH G:\wamp64\www\projects\attendance\resources\views/exports/reports-list-pdf.blade.php ENDPATH**/ ?>