@extends('dashboard_connect.dash_master') @section('pagescontents')

Monthly Attendance - Report

@csrf @if(Session::has('status'))
@endif @if(Session::has('wrong'))
@endif
Please select session.
Please select semester name.
Please select attendance month.
Please select attendance type.
Please select section/group.
Please select attendance type.
Please select paper name.
@if(!empty($subjectid) && !empty($sessionid))

Students Attendance Data : {{ getpapername($subjectid) }} - {{ $attdtype }} - {{ $stusection }} - @if($attdmonth == "All") All Months @else {{ getmonthmaster($attdmonth) }} @endif

@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
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) }}
@endif
@endsection