|
|
{{isset(generalSetting()->school_name)?generalSetting()->school_name:'Infix School Management ERP'}}{{isset(generalSetting()->address)?generalSetting()->address:'Infix School Address'}} |
@if (moduleStatusCheck('University'))
{{ __('university::un.department') }}:{{ isset($unSemesterLabel) ? $unSemesterLabel->departmentDetails->name .'('. (isset($unDepartment) ? $unDepartment->name:'').')':''}} @lang('university::un.semester(label)'): {{ isset($unSemesterLabel) ? $unSemesterLabel->semesterDetails->name .'('. (isset($unSemesterLabel) ? $unSemesterLabel->name : '') .')' :''}} @else{{ __('academics.class') }}: {{ $class->class_name}} {{__('academics.section')}}: {{ $section->section_name}} @endif{{ __('hr.month') }}: {{ date("F", strtotime('00-'.$month.'-01')) }} {{ __('common.year') }}: {{ $year }} |
| SL | @lang('common.name') | @lang('student.admission_no') | P | L | A | F | H | % | @for($i = 1; $i<=$days; $i++)
{{$i}}
@php $date = $year.'-'.$month.'-'.$i; $day = date("D", strtotime($date)); echo substr($day,0,2); @endphp |
@endfor
|---|---|---|---|---|---|---|---|---|---|
| {{$count_student++}} | @php $student = 0; @endphp @foreach($values as $value) @php $student++; @endphp @if($student == 1) {{$value->studentInfo->full_name}} @endif @endforeach | @php $student = 0; @endphp @foreach($values as $value) @php $student++; @endphp @if($student == 1) {{$value->studentInfo->admission_no}} @endif @endforeach | @php $p = 0; @endphp @foreach($values as $value) @if($value->attendance_type == 'P') @php $p++; $total_attendance++; $total_grand_present++; @endphp @endif @endforeach {{$p}} | @php $l = 0; @endphp @foreach($values as $value) @if($value->attendance_type == 'L') @php $l++; $total_attendance++; $total_late++; @endphp @endif @endforeach {{$l}} | @php $a = 0; @endphp @foreach($values as $value) @if($value->attendance_type == 'A') @php $a++; $count_absent++; $total_attendance++; $total_absent++; @endphp @endif @endforeach {{$a}} | @php $f = 0; @endphp @foreach($values as $value) @if($value->attendance_type == 'F') @php $f++; $total_attendance++; $total_halfday++; @endphp @endif @endforeach {{$f}} | @php $h = 0; @endphp @foreach($values as $value) @if($value->attendance_type == 'H') @php $h++; $total_attendance++; $total_holiday++; @endphp @endif @endforeach {{$h}} | @php $total_present = $total_attendance - $count_absent; if($count_absent == 0){ echo '100%'; }else{ $percentage = $total_present / $total_attendance * 100; echo number_format((float)$percentage, 2, '.', '').'%'; } @endphp | @for($i = 1; $i<=$days; $i++) @php $date = $year.'-'.$month.'-'.$i; $y = 0; @endphp@foreach($values as $value) @if(strtotime($value->attendance_date) == strtotime($date)) {{$value->attendance_type}} @endif @endforeach | @endfor