@extends('pdf.layout') @section('title', 'Rescrutiner Script Count') @section('content') @php $sl = 1; $chunk_size = 25; $total_script_count = 0; @endphp @foreach(array_chunk($list, $chunk_size) as $chunk) @include('include.report_header')

Re-scrutinizer Wise Total Script For {{ $chunk[0]['exam_name'] }}-{{ $chunk[0]['exam_year'] }}


@foreach($chunk as $item) @php $total_script_count += $item['total_scripts']; @endphp @endforeach
Sl. Name Phone Email Script Count
{{ $sl++ }} {{ $item['name'] }} {{ $item['mobile'] }} {{ $item['email'] }} {{ $item['total_scripts'] }}
Total Script Count = {{ $total_script_count }}
@include('include.generated_on') @include('include.page_break') @endforeach @stop