@extends('pdf.layout') @section('title', 'Attendance List') @section('content') @foreach(array_chunk($attendances, 12) as $chunk)
@include('include.report_header')

Attendance list of Exam Code-Name & Year : {{ $exam_info['exam_code'].'-'.$exam_info['exam_name'] .' & '.$exam_info['exam_year'] }}

Center Code & Name: [{{ $chunk[0]['center_code'] }}] {{ $chunk[0]['center_name'] }}

@foreach($chunk as $item) @endforeach
College Code & Name Examinee Roll / Session Course Invigilator Exam Date
{{ $item['college_code'] }}-{{ $item['college_name'] }} {{ $item['student_name'] }} {{ $item['exam_roll_no'].' / '.$item['ac_session'] }} {{ $item['paper_code'].' - '.$item['paper_name'] }} {{ $item['invigilator_name'] }} {{ \Carbon\Carbon::make($item['attendance_date'])->format('d-m-Y') }}

Generated On: {{ \Carbon\Carbon::now()->format('d/m/Y') }}

@endforeach @stop