QR Code for Job #{{ $jobHdr->id }}

Format Type Total Quantity Total QR Generated Exported on
{{ $jobHdr->format?->c_format_name ?? '-' }} {{ $jobHdr->quantity ?? 0 }} {{ $jobs->count() ?? 0 }} {{ date('d M Y, H:i A') }}

@php $count = 0; @endphp @foreach($jobs as $job) {{-- Start a new row every 4 columns --}} @if($count % 4 == 0) @endif @php $count++; @endphp {{-- Close row after 4 columns --}} @if($count % 4 == 0) @endif @endforeach {{-- Fill empty cells if last row is incomplete --}} @if($count % 4 != 0) {!! str_repeat('', 4 - ($count % 4)) !!} @endif
{{-- TOP: Individual Number --}}

{{ $jobHdr->batch_no ?? '-' }}

{{-- QR Image --}} @php $qrPath = public_path($job->job_qrcode_path); @endphp @if($job->job_qrcode_path && file_exists($qrPath)) QR Code @else

QR NA

@endif {{-- BOTTOM: Batch Number --}}

{{ $job->individual_no ?? '-' }}