@php $intcount = 1; $lectperc = 0; $lectheld = 0; $lectnewheld = 0; $lectnewattd = 0; @endphp @foreach($monthattddata as $keyone => $itemone) @php $lectheld = $itemone->totlectheld; $lectattd = $itemone->totlectattd; $coursename = getstucourse($sessionid, $subjectid, $itemone->studentid); $coursenewid = getstucourseid($sessionid, $subjectid, $itemone->studentid); $weightage = getweightage($sessionid, $coursenewid, $itemone->studentid); if($weightage>0){ $lectnewheld = (($lectheld * $weightage) / 100); $lectheld = $lectheld - $lectnewheld; if($lectheld>0 && $lectattd>0){ $lectperc = Round(($lectattd / $lectheld) * 100, 2); }else{ $lectperc = 0; } }else{ if($lectheld>0 && $lectattd>0){ $lectperc = Round(($lectattd / $lectheld) * 100, 2); }else{ $lectperc = 0; } } @endphp @php $intcount++; @endphp @endforeach
KIRORI MAL COLLEGE (UNIVERSITY OF DELHI)
 
Attendance Master Report :: {{ $coursenamedisp }} :: {{ $attdtype }} :: {{ $sessionname }}
 
S. No. Course Name College Roll No. Student's Name Leture Delivered Lecture Attended Percentage(%)
{{ $intcount }} {{ $coursename }} {{ $itemone->username }} {{ $itemone->name }} {{ $itemone->lname }} {{ Round($lectheld,2) }} {{ Round($lectattd,2) }} {{ Round($lectperc,2) }}