{{getPhrase('sno')}} | {{getPhrase('name')}} | {{getPhrase('roll_no')}} | @foreach($summary_attendance[0]['date'] as $key => $attendance){{date('d-m-Y',strtotime($key))}} | @endforeachTotal Present Of Current Month | Total Absent Of Current Month | Total Present Of Last Months | Total Absent Of Last Months | Total Present | Total Absent | Percentage (%) | @foreach($summary_attendance as $key => $report)
---|---|---|---|---|---|---|---|---|---|---|
{{$i}} | {{$report['name']}} | {{$report['roll_no']}} | @foreach($report['date'] as $attendance){{$attendance}} | @endforeach{{$report['c_omnth_present']}} | {{$report['c_omnth_absent']}} | {{$report['present_last_month']}} | {{$report['absent_last_month']}} | {{$report['present_last_total']}} | {{$report['absent_last_total']}} | |
{{ $tt1 }} | {{ $tt2 }} | {{ $tt3 }} | {{ $tt4 }} | {{ $tt5 }} | {{ $tt6 }} | |||||
{{ $tt1 + $tt2 }} | {{ $tt3 + $tt4 }} | {{ $tt5 + $tt6 }} | ||||||||
Average = {{ number_format($tt1/count($summary_attendance),2,'.','') }} | ||||||||||
Percentage (%) = {{ number_format( ($tt1/($tt1+$tt2))*100,2,'.','') }} |