{{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{{$currentpp}} | {{$currentaa}} | {{$report['total_last_present']}} | {{$report['total_last_absent']}} | {{$currentpp+$report['total_last_present']}} | {{$currentaa+$report['total_last_absent']}} | |
{{ $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,'.','') }} | ||||||||||
Total % of the Month = |