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

Create/Update Students List

@csrf
Please select session.
Please select semester name.
Please select section/group.
@php if(!empty($subjectid)){ $messagenew = ""; }else{ $messagenew = "disabled"; } @endphp
Please select paper name.
@if(Session::has('wrong'))
@endif @if(Session::has('status'))
@endif
@if(!empty($sessionid) && !empty($subjectid) && !empty($stusection) && !empty($stubatch))

Allotted Sections/Groups

TOTAL STUDENTS OPTED {{ getpapername($subjectid) }}: {{ $optsubcount }} STUDENTS

@if($getsecbatchid != '[]') @foreach($getsecbatchdt as $keybat => $itembat) @php $facultynm = getstudata($itembat->saveby, "NAME"); @endphp
Section/Group: {{ $itembat->stusection }}
Students: {{ $itembat->count }}
Created By: {{ $facultynm }}
@if(Auth::user()->id == $itembat->saveby) @endif
@endforeach @else
NOTE: NO SECTIONS/GROUPS CREATED FOR {{ getpapername($subjectid) }}!
@endif
@endif
@if(!empty($sessionid) && !empty($subjectid) && !empty($semesterid) && !empty($stusection) && !empty($stubatch)) @if($studentdata->count() == 0)

Add New Students in {{ $stusection }}

Hi! If students list is not appearing then you may create your student list after clicking the button given below.

Create Student List

@else

Create Students List : Section/Group - {{ $stusection }}

@csrf

Hi User!
1. You may check the checkbox(es) for adding of students and uncheck the checkbox for removing of student's name from the allotted list.
2. If any student's name is not appearing in the table given below then you can add his/her name by clicking on the link given below:
Add more students in your list

@php $intcount = 1; $allottsec = ""; $allottby = ""; @endphp @foreach($studentdata as $keyone => $itemone) @php $strmsg = ""; $stucollrollno = ""; $allottid = getallottstat($sessionid, $subjectid, $stusection, $stubatch, $user_get, $itemone->studentid); if($allottid>0){ $strmsg = "checked"; }else{ $strmsg = ""; } $allottedby = ""; $courseid = getstucourseid($sessionid, $semesterid, $itemone->studentid); $allottedby = getallottedby($sessionid, $courseid, $subjectid, $itemone->studentid); $stucollrollno = getstudata($itemone->studentid, "COLLROLL"); @endphp @php $intcount++; @endphp @endforeach
S. No. Course Name Student Details Allotted By
{{ $intcount }} {{ $itemone->coursename }} {{ $itemone->courseyear }} {{ $stucollrollno }}
{{ $itemone->name }} {{ $itemone->lname }}
{{ $itemone->email }}
{{ $itemone->mobileno }}
@if(!empty($allottedby)) @foreach($allottedby as $keynm => $itemnnal) {{ $itemnnal->name }} {{ $itemnnal->lname }}
@endforeach @else Not Allotted @endif
@if($allottid>0) @else @endif
@endif @endif
@endsection