<?php $__currentLoopData = $codes->chunk(100); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pageCodes): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <table style="width: 95%; margin: auto" border="1px solid black">
        <thead>
            <tr>
                <th colspan="4" style="font-size: 40px">
                    <?php echo e($department->shorthand); ?> - <?php echo e($semester); ?>. semestar
                </th>
            </tr>
        </thead>
        <tbody>
            <?php $__currentLoopData = $pageCodes->chunk(4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rowCodes): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <?php for($i = 0; $i < 4; $i++): ?>
                        <td align="center" style="font-size: 23px">
                            <?php echo e(optional($rowCodes->values()->get($i))->code); ?>

                        </td>
                    <?php endfor; ?>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>
    <div style="page-break-after: always"></div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<script>
    window.print();
    window.onfocus = () => { window.close(); }
</script>
<?php /**PATH /Users/misakovic1/Projekti/anketa/resources/views/admin/codes/print.blade.php ENDPATH**/ ?>