@extends('pdf.layout') @section('title', 'Center Script Distribution Allotment Report') @section('content') @php $division_id = 0; @endphp @foreach(array_chunk($center->toArray(), 25) as $chunk) @foreach($chunk as $item) @php if($division_id != $item['division_id']){@endphp

NATIONAL UNIVERSITY, GAZIPUR

CENTER SCRIPT DISTRIBUTION ALLOTMENT REPORT - DIVISION WISE

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

@php $division_id = $item['division_id']; }else{ @endphp @php $division_id = $item['division_id']; } @endphp @endforeach
CENTER CODE CENTER NAME DIVISION MAIN SCRIPT PACKET SIZE MAIN SCRIPT TOTAL PACKET EXTRA SCRIPT PACKET SIZE EXTRA TOTAL PACKET TOTAL PACKET
{{ $item['center_code'] }} {{ $item['center_name'] }} {{ $item['division_name'] }} {{ $item['main_packet_size'] }} {{ $item['main_quantity'] }} {{ $item['extra_packet_size'] }} {{ $item['extra_quantity'] }} {{ $item['total_packet'] }}
{{ $item['center_code'] }} {{ $item['center_name'] }} {{ $item['division_name'] }} {{ $item['main_packet_size'] }} {{ $item['main_quantity'] }} {{ $item['extra_packet_size'] }} {{ $item['extra_quantity'] }} {{ $item['total_packet'] }}
@endforeach

NO. OF TOTAL MAIN SCRIPT PACKET : {{ $total_ms_packet }}
NO. OF TOTAL EXTRA SCRIPT PACKET : {{ $total_es_packet }}
NO. OF TOTAL TOTAL PACKET : {{ $total_packet }}

@stop