@extends('pdf.layout') @section('title', 'Answer Script Distribution') @section('content') @foreach(array_chunk($script->toArray(), 35) as $chunk)

NATIONAL UNIVERSITY, GAZIPUR

ANSWER SCRIPT DISTRIBUTION REPORT

{{ $exam_name }} - {{ $exam_code }}
YEAR : {{ $year }}

{{ $center_code }} - {{ $center_name }}


Attendance Date: {{ request()->get('datetime')}}


@foreach($chunk as $item) @php if($item['receive_status'] == 1) { @endphp @php } else if($item['treasury_status'] == 1) { @endphp @php } else if($item['distribute_status'] == 1) { @endphp @php } else if($item['distribute_status'] == null || $item['distribute_status'] == 0) { @endphp @php } @endphp @endforeach
COURSE CODE COURSE NAME PACKET SIZE TOTAL PACKET SHIPMENT STATUS
{{ $item['paper_code'] }} {{ $item['paper_name'] }} {{ $item['packet_size'] }} {{ $item['total_packet'] }}Received By RCAt TreasuryAt RCAt Center
@endforeach

Date: {{ date('l jS \of F Y') }}

@stop