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

Create/Update Students List

@csrf
Please select session.
Please select semester name.
Please select section/group.
Please select order by.
@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))

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

@csrf

Hi User!
You may check the checkbox(es) for adding of students and uncheck the checkbox for removing of student's name from the allotted list.

@php $intcount = 1; $allottsec = ""; $allottby = ""; @endphp @foreach($studentdata as $keyone => $itemone) @php $strmsg = ""; $stucollrollno = ""; $allottid = getallottstat($sessionid, $subjectid, $stusection, $user_get, $itemone->studentid); if($allottid>0){ $strmsg = "checked"; }else{ $strmsg = ""; } $allottedby = ""; $allottedby = getallottedby($sessionid, $subjectid, $itemone->studentid); @endphp @php $intcount++; @endphp @endforeach
S. No. Course Name Student Details Allotted By
{{ $intcount }} {{ $itemone->coursename }} {{ $itemone->courseyear }} @if($orderby == "CollegeRoll") {{ $itemone->collrollno }}
{{ $itemone->examrollno }}
{{ $itemone->name }} {{ $itemone->lname }}
{{ $itemone->email }}
{{ $itemone->mobileno }} @elseif($orderby == "ByName") {{ $itemone->name }} {{ $itemone->lname }}
{{ $itemone->collrollno }}
{{ $itemone->examrollno }}
{{ $itemone->email }}
{{ $itemone->mobileno }} @elseif($orderby == "CourseName") {{ $itemone->collrollno }}
{{ $itemone->examrollno }}
{{ $itemone->name }} {{ $itemone->lname }}
{{ $itemone->email }}
{{ $itemone->mobileno }} @elseif($orderby == "ExamRollNo") {{ $itemone->examrollno }}
{{ $itemone->collrollno }}
{{ $itemone->name }} {{ $itemone->lname }}
{{ $itemone->email }}
{{ $itemone->mobileno }} @endif
@if(empty($allottedby) || $allottedby == "[]") Not Allotted @else @foreach($allottedby as $keynm => $itemnnal) {{ $itemnnal->name }} {{ $itemnnal->lname }}
@endforeach @endif
@if($allottid>0) @else @endif
@endif
@endsection