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

Student Union Election - Attendance Report

@csrf
Please select session.
Please select semester name.
Please enter details.
@if(Session::has('status'))
@endif @if(Session::has('wrong'))
@endif
@if(!empty($sessionid) && !empty($semesterid) && !empty($searchtxt))

Attendance Details

@php $intcount = 1; $grtotthheld = 0; $grtotthattd = 0; $grtottutheld = 0; $grtottutattd = 0; $grandheld = 0; $grandattd = 0; $grandperc = 0; @endphp @foreach($restData as $keyone => $itemone) @if($intcount<=1) @endif

KIRORI MAL COLLEGE
(UNIVERSITY OF DELHI)
UNIVERSITY ENCLAVE, DELHI - 110 007
(Phone No. - 011-7121 9084 : Email - principal@kmc.du.ac.in)
College Roll No. :: {{ $itemone['stucollrollno'] }} Student's Name :: {{ $itemone['stuname'] }} Session :: {{ getsessionname($itemone['stusessionid']) }} Exam. Roll No. :: {{ $itemone['stuexamrollno'] }}
Enrolment No. :: {{ $itemone['stuenrolmentno'] }} Mobile No. :: {{ $itemone['stumobileno'] }} Email 1 :: {{ $itemone['stuemail'] }} Email 2 :: {{ $itemone['stuusername'] }}
@php $intcount = 1; @endphp @foreach($itemone['subData'] as $keyone) @php $intcount++; @endphp @endforeach @php $grtotthheld = $grtotthheld + $itemone['thheld']; $grtotthattd = $grtotthattd + $itemone['thattd']; $grtottutheld = $grtottutheld + $itemone['tutheld']; $grtottutattd = $grtottutattd + $itemone['tutattd']; @endphp
ATTENDANCE DATA :: {{ Str::upper($itemone['stucoursename']) }} {{ Str::upper($itemone['stucourseyear']) }}
Paper Type Paper Name Theory Attendance Tutorial Attendance
  Held Attended (%) Weightage Held Attended (%) Weightage
{{ $keyone['stupapertype'] }} {{ Str::upper($keyone['stupapername']) }} [{{ $keyone['stupapercode'] }}] {{ Round($keyone['attdheldth'],2) }} {{ Round($keyone['attdattdth'],2) }} {{ Round($keyone['dtcountpercth'],3) }} {{ Round($keyone['weightage'],2) }} {{ Round($keyone['attdheldtut'],2) }} {{ Round($keyone['attdattdtut'],2) }} {{ Round($keyone['dtcountperctut'],3) }} {{ Round($keyone['weightage'],2) }}
SUB TOTAL ({{ Str::upper($itemone['stucoursename']) }} {{ Str::upper($itemone['stucourseyear']) }}) {{ Round($itemone['thheld'],2) }} {{ Round($itemone['thattd'],2) }} {{ Round($itemone['grtheoryper'],2) }}   {{ Round($itemone['tutheld'],2) }} {{ Round($itemone['tutattd'],2) }} {{ Round($itemone['grtutper'],2) }}  
@php $intcount++; @endphp @endforeach
@php $grandheld = $grtotthheld + $grtottutheld; $grandattd = $grtotthattd + $grtottutattd; if($grandheld>0 && $grandattd>0){ $grandperc = Round(($grandattd / $grandheld) * 100,2); }else{ $grandperc = 0; } @endphp @if($semesterid == "I+II") @elseif($semesterid == "III+IV") @elseif($semesterid == "V+VI") @endif
SUMMARY SEMESTER I AND SEMESTER II :: {{ getsessionname($sessionid) }}
SUMMARY SEMESTER III AND SEMESTER IV :: {{ getsessionname($sessionid) }}
SUMMARY SEMESTER V AND SEMESTER VI :: {{ getsessionname($sessionid) }}
Total Theory Attendance (Attd./Held) {{ Round($grtotthattd,2) }} / {{ Round($grtotthheld,2) }} Total Tutorial Attendance (Attd./Held) {{ Round($grtottutattd,2) }} / {{ Round($grtottutheld,2) }}
Total Theory+Tutorial Attendance (Attd./Held) {{ Round($grandattd,2) }} / {{ Round($grandheld,2) }} Theory+Tutorial Percentage {{ $grandperc }}%
@endif @endsection