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

Add/ Update Monthly Attendance

The practical based Continuous Assessment of SEC & VAC courses (either 40 or 80 marks) DOES NOT include any attendance component.

@if(Session::has('status'))
@endif @if(Session::has('wrong'))
@endif
@csrf
Please select session.
Please select semester name.
Please select attendance month.
Please select attendance type.
Please select section/group.
Please enter lecture delivered.
Please select order by.
Please select paper name.
@if($user_get == "7") @else

Hi User! Entry portal closed.

@endif
@if($getsavedattdcount>0 && !empty($semesterid))
Attendance Status @if($subjectid > 0) : {{ getpapername($subjectid) }} @endif
@if($getsavedattd != '[]') @foreach($getsavedattd as $keybat => $itembat) @php $facultynm = getstudata($itembat->saveby, "NAME"); @endphp
Details: {{ getpapername($itembat->subjectid) }}  / {{ getmonthmaster($itembat->attdmonth) }}  / {{ $itembat->attdtype }}  / Section: {{ $itembat->stusection }}
Created By: {{ $facultynm }}
@if(Auth::user()->id == $itembat->saveby) @php if(!empty($semesterid)){ $semesterid = $semesterid; }else{ $semesterid = "NA"; } if($lectheld>0){ $lectheld = $lectheld; }else{ $lectheld = "0"; } @endphp
Edit     Delete
@endif

@endforeach @else
NOTE: Monthly Attendance Not Created For {{ getpapername($subjectid) }}!
@endif
@endif
@if(!empty($subjectid))

Add/Update Student's Attendance : {{ getpapername($subjectid) }} - {{ getmonthmaster($attdmonth) }} - {{ $attdtype }}

@csrf
@php $intcount = 1; @endphp @foreach($secbatchmaster as $keyone => $itemone) @php $stucollrollno = ""; $courseid = getstucourseid($sessionid, $semesterid, $itemone->studentid); $coursename = getcoursename($courseid); $stucollrollno = $itemone->collrollno; $stuexamrollno = $itemone->examrollno; $lecthelddb = 0; $lectattddb = 0; $weightage = 0; $ifattdexists = getattendance($sessionid, $subjectid, $attdtype, $attdmonth, $itemone->studentid, $user_get, $itemone->stusection, $itemone->stubatch, "IDEXT"); $lecthelddb = getattendance($sessionid, $subjectid, $attdtype, $attdmonth, $itemone->studentid, $user_get, $itemone->stusection, $itemone->stubatch, "HELD"); $lectattddb = getattendance($sessionid, $subjectid, $attdtype, $attdmonth, $itemone->studentid, $user_get, $itemone->stusection, $itemone->stubatch, "ATTD"); $lecthelddb = $lecthelddb > 0 ? Round($lecthelddb, 2) : Round($lectheld, 2); $lectattddb = $lectattddb > 0 ? Round($lectattddb, 2) : 0; @endphp @php $intcount++; @endphp @endforeach
S. No. Course Name College Roll No. Exam. Roll No. Student's Name Leture Delivered Lecture Attended Delete Individual Attd.
{{ $intcount }} {{ $coursename }} {{ $stucollrollno }} {{ $stuexamrollno }} {{ $itemone->name }} {{ $itemone->lname }}
Lecture delivered should not be empty.
Lecture attended should not be empty.
@if($ifattdexists > 0) @else Attendance Not Entered @endif
@endif
@endsection