{{ $reportData['college']->college_name }}

{{ $reportData['college']->affiliated_by }}

{{ $reportData['college']->address }}

Progress Report

Name Of Student: {{ $reportData['student']->firstname }}
Roll No: {{ $reportData['student']->register_no }}
Class: {{ $reportData['class_name'] }}
Year: {{ $reportData['year'] }}
@foreach ($classSubjects as $index => $subject) @endforeach @for ($i = count($classSubjects); $i < 6; $i++) @endfor @foreach ($classSubjects as $index => $semester) @endforeach @for ($i = count($classSubjects); $i < 6; $i++) @endfor {{-- MID - I --}} @php $totalmarks = 0; @endphp @foreach($classSubjects as $index => $subject) @isset($subject['marks_one']) @else {{-- Empty cell if no marks for this subject --}} @endisset @endforeach {{-- If there are fewer than 6 subjects, add empty cells to make up the difference --}} @for ($i = count($classSubjects); $i < 6; $i++) @endfor {{-- Total Marks Calculation for MID - I --}} {{-- MID - II --}} @php $totalmarks = 0; @endphp @foreach($classSubjects as $subject) @isset($subject['marks_two']) @else {{-- Optional: Empty if no marks --}} @endisset @endforeach {{-- If there are fewer than 6 subjects, add empty cells to make up the difference --}} @for ($i = count($classSubjects); $i < 6; $i++) @endfor {{-- Total Marks Calculation for MID - II --}} @foreach(['Jan', 'Feb', 'Mar', 'April', 'May', 'Jun', 'July', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] as $month) @endforeach @php $totalNoOfDays = 0; @endphp @foreach(['jan_no_of_wday', 'feb_no_of_wday', 'mar_no_of_wday', 'apr_no_of_wday', 'may_no_of_wday', 'june_no_of_wday', 'july_no_of_wday', 'aug_no_of_wday', 'sep_no_of_wday', 'oct_no_of_wday', 'nov_no_of_wday', 'dec_no_of_wday'] as $monthVar) @php $totalNoOfDays += isset($progressReport[$monthVar]) ? (int)$progressReport[$monthVar] : 0; @endphp @endforeach @php $totalNoOfPresentDays = 0; @endphp @foreach(['jan_no_of_pday', 'feb_no_of_pday', 'mar_no_of_pday', 'apr_no_of_pday', 'may_no_of_pday', 'june_no_of_pday', 'july_no_of_pday', 'aug_no_of_pday', 'sep_no_of_pday', 'oct_no_of_pday', 'nov_no_of_pday', 'dec_no_of_pday'] as $monthVar) @php $totalNoOfPresentDays += isset($progressReport[$monthVar]) ? (int)$progressReport[$monthVar] : 0; @endphp @endforeach
Max. Marks: Total Remarks
Subjects: {{ !empty($subject['subject_code']) ? $subject['subject_code'] : ' ' }}    
Semester: {{ !empty($semester['semester_no']) ? $semester['semester_no'] : ' ' }}    
MID - I @php $totalmarks += $subject['marks_one']; @endphp {{ $subject['marks_one'] }} {{ $totalmarks }}  
MID - II {{ $subject['marks_two'] }} @php $totalmarks += $subject['marks_two']; @endphp {{ $totalmarks }}  
Month{{ $month }}Total %
No.Of working days{{ isset($progressReport[$monthVar]) ? $progressReport[$monthVar] : '' }}{{ $totalNoOfDays }} 100
Days Present{{ isset($progressReport[$monthVar]) ? $progressReport[$monthVar] : '' }}{{ $totalNoOfPresentDays }} {{floor($totalNoOfPresentDays/$totalNoOfDays*100) }}
Sign Of the Ward In-Charge                            
Sign Of the Principal                            
Sign Of the Parent