<!DOCTYPE html>
<html><head><meta charset="utf-8"><title><?php echo e($title); ?></title></head>
<body style="font-family:DejaVu Sans,Helvetica,Arial,sans-serif;font-size:10px;color:#111;">
<table style="width:100%;border-bottom:3px solid #b45309;margin-bottom:10px;"><tr>
<td><div style="font-size:18px;font-weight:bold;">NOWILLS SQC ERP</div>
<div style="color:#555;">Stone Quarry &amp; Construction &middot; Accra, Ghana</div></td>
<td style="text-align:right;"><div style="font-size:15px;font-weight:bold;"><?php echo e($title); ?></div>
<div style="color:#555;"><?php echo e($from); ?> to <?php echo e($to); ?></div></td>
</tr></table>
<table style="width:100%;border-collapse:collapse;">
<thead><tr style="background:#1f2937;color:#fff;">
<?php $__currentLoopData = array_keys($columns); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $label): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><th style="padding:5px 6px;text-align:left;font-size:9px;"><?php echo e($label); ?></th><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tr></thead>
<tbody>
<?php $__currentLoopData = $rows; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ri => $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="background:<?php echo e($ri % 2 ? '#f8fafc' : '#fff'); ?>;">
<?php $__currentLoopData = array_values((array) $row); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ci => $cell): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<td style="padding:4px 6px;border-bottom:1px solid #e5e7eb;<?php echo e((array_values($columns)[$ci] ?? '') === 'r' ? 'text-align:right;' : ''); ?>"><?php echo e(strip_tags((string) $cell)); ?></td>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<?php if(!empty($totals)): ?>
<div style="margin-top:8px;font-size:10px;color:#333;">Totals shown for: <?php echo e(implode(', ', (array) $totals)); ?> &middot; <?php echo e(count($rows)); ?> row(s)</div>
<?php else: ?>
<div style="margin-top:8px;font-size:10px;color:#333;"><?php echo e(count($rows)); ?> row(s)</div>
<?php endif; ?>
<div style="margin-top:14px;font-size:8px;color:#888;">Generated <?php echo e(now()->format('d M Y H:i')); ?> by <?php echo e(auth()->user()->name ?? 'system'); ?> &middot; Nowills SQC ERP</div>
</body></html>
<?php /**PATH /home/user/nowills-sqc-erp/resources/views/reports/pdf.blade.php ENDPATH**/ ?>