@extends('pdf.layout')
@section('title', 'Descriptive Roll Sheet')
@section('content')
@php
$sl = 1;
$total_student = 0;
@endphp
@foreach (array_chunk($form_fillup_data->toArray(), 25) as $chunk)
National University
Gazipur-1704, Bangladesh
@if ($chunk[0]['exam_code'] == 1101)
{{ 'DEGREE PASS AND CERTIFICATE COURSE EXAMINATION (1ST YEAR)' }} -
{{ $admit['year'] ?: 'N/A' }}
@elseif($chunk[0]['exam_code'] == 1102)
{{ 'DEGREE PASS AND CERTIFICATE COURSE EXAMINATION (2ND YEAR)' }} -
{{ $admit['year'] ?: 'N/A' }}
@elseif($chunk[0]['exam_code'] == 1103)
{{ 'DEGREE PASS AND CERTIFICATE COURSE EXAMINATION (3RD YEAR)' }} -
{{ $admit['year'] ?: 'N/A' }}
@else
{{ $chunk[0]['exam_name'] }} - {{ $chunk[0]['year'] }}
@endif
|
Exam Code: {{ $chunk[0]['exam_code'] }}
|
Descriptive Roll Sheet Summary
Center Code & Name: {{ $chunk[0]['center_code'] }}-{{ $chunk[0]['center_name'] }}
SL |
College Code & Name |
@if (in_array($chunk[0]['exam_code'], [1101, 1102, 1103]))
Course Name |
@else
Subject Code & Name |
@endif
Student Count |
@foreach ($chunk as $item)
{{ $sl }} |
{{ $item['college_code'] }}-{{ $item['college_name'] }} |
@if (in_array($chunk[0]['exam_code'], [1101, 1102, 1103]))
{{ $item['subject_name'] ?? '' }}
@else
{{ $item['subject_code'] }}-{{ $item['subject_name'] }}
@endif
|
{{ $item['student_count'] }} |
@php
$sl++;
$total_student += $item['student_count'];
@endphp
@endforeach
Total Student : {{ $total_student }}
@endforeach
@stop