<!DOCTYPE html>
<html>
<head>
    <title>PDF Tabela</title>
    <style>
        table {
            width: 100%;
            border-collapse: collapse;
        }
        th, td {
            border: 1px solid black;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
        }
    </style>
</head>
<body>
    <h2>Izlazne fakture</h2>
    <table>
        <thead>
            <tr>
                <th>ID</th>
                <th>Firma</th>
                <th>Datum kreiranja</th>
                <th>Vozač</th>
                <th>Kamion</th>
                <th>Rok plaćanja</th>
            </tr>
        </thead>
        <tbody>
            <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td><?php echo e($row['id_invoice']); ?></td>
                    <td><?php echo e($row['company']); ?></td>
                    <td><?php echo e($row['date_start']); ?></td>
                    <td><?php echo e($row['drivers']); ?></td>
                    <td><?php echo e($row['trucks']); ?></td>
                    <td><?php echo e($row['date_end']); ?></td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>
</body>
</html>
<?php /**PATH /opt/cms/resources/views/pdf.blade.php ENDPATH**/ ?>