Max. Marks: |
|
|
|
|
|
|
Total |
Remarks |
Subjects: |
@foreach ($classSubjects as $index => $subject)
{{ !empty($subject['subject_code']) ? $subject['subject_code'] : ' ' }}
|
@endforeach
@for ($i = count($classSubjects); $i < 6; $i++)
|
@endfor
|
|
Semester: |
@foreach ($classSubjects as $index => $semester)
{{ !empty($semester['semester_no']) ? $semester['semester_no'] : ' ' }}
|
@endforeach
@for ($i = count($classSubjects); $i < 6; $i++)
|
@endfor
|
|
{{-- MID - I --}}
MID - I |
@php $totalmarks = 0; @endphp
@foreach($classSubjects as $index => $subject)
@isset($subject['marks_one'])
@php
$totalmarks += $subject['marks_one'];
@endphp
{{ $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 --}}
{{ $totalmarks }} |
|
{{-- MID - II --}}
MID - II |
@php $totalmarks = 0; @endphp
@foreach($classSubjects as $subject)
@isset($subject['marks_two'])
{{ $subject['marks_two'] }}
@php
$totalmarks += $subject['marks_two'];
@endphp
|
@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 --}}
{{ $totalmarks }} |
|
Month |
@foreach(['Jan', 'Feb', 'Mar', 'April', 'May', 'Jun', 'July', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] as $month)
{{ $month }} |
@endforeach
Total |
% |
No.Of working days |
@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)
{{ isset($progressReport[$monthVar]) ? $progressReport[$monthVar] : '' }} |
@php
$totalNoOfDays += isset($progressReport[$monthVar]) ? (int)$progressReport[$monthVar] : 0;
@endphp
@endforeach
{{ $totalNoOfDays }} |
100 |
Days Present |
@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)
{{ isset($progressReport[$monthVar]) ? $progressReport[$monthVar] : '' }} |
@php
$totalNoOfPresentDays += isset($progressReport[$monthVar]) ? (int)$progressReport[$monthVar] : 0;
@endphp
@endforeach
{{ $totalNoOfPresentDays }} |
{{floor($totalNoOfPresentDays/$totalNoOfDays*100) }} |
Sign Of the Ward In-Charge |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sign Of the Principal |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sign Of the Parent |
|
|
|
|
|
|
|
|
|
|
|
|
|
|