@extends('dashboard_connect.dash_master') @section('pagescontents') @if(Session::has('wrong'))


@endif @if(Session::has('status'))


@endif @if($strstatus == "errorall")


@endif @if($strstatus == "successall")


@endif

Create/View Time Table

@csrf
Please select session.
Please select semester name.
Please select semester name.
@if(!empty($sessionidext) && !empty($semesterext) && !empty($depaidext))

TIME TABLE - {{ Str::upper(getdepaname($depaidext)) }} - {{ getsession($sessionidext) }} - {{ Str::upper($semesterext) }}

@foreach($slotsdata as $keyslot => $itemslot) @endforeach @php $intcount = 1; $dispfacname = ""; $allfacid = ""; @endphp @foreach($restData as $keyone => $itemone) @foreach($itemone['secYear'] as $keytwo => $itemtwo) @php $getavailrooms = getavailablerooms($itemone['griddayid'], $itemtwo['gridslotid'], $sessionidext, $semesterext, "0"); @endphp @endforeach @php $intcount++; @endphp @endforeach
PERIOD
TIME
{{ $itemslot->slotperiod }}
{{ $itemslot->slotname }}
{{ Str::upper($itemone['griddayname']) }}

@foreach($itemtwo['ctypearr'] as $keyfirst)

 {{ $keyfirst['dispsubtype'] }} @if($keyfirst['dispsectionid'] !== "NA") -{{ Str::upper(substr($keyfirst['dispsectionid'],0,4)) }} {{ Str::upper(substr($keyfirst['dispsectionid'],8,1)) }}- @endif {{ $keyfirst['disproomname'] }} [{{ $keyfirst['disppapertype'] }}]- @php $totcount = count($keyfirst['facultyarr']); $faccount = 1; @endphp @foreach($keyfirst['facultyarr'] as $keysecond) {{ Str::upper($keysecond['dispfacname']) }}@if($faccount < $totcount)/@endif @php if($allfacid == ""){ $allfacid = $keysecond['dispfacid']; }else{ $allfacid = $allfacid . ', ' . $keysecond['dispfacid']; } $faccount++; @endphp @endforeach @php $selectfaculty = explode(", ", $allfacid); $getavailroomsupd = getavailablerooms($itemone['griddayid'], $itemtwo['gridslotid'], $sessionidext, $semesterext, $keyfirst['disproomid']); @endphp

@endforeach
Papers {{ Str::upper($checkall) }}
Faculty @php $selectfaculty = getteachdisplay($allfacid); if(!empty($selectfaculty)){ $totfaccount = count($selectfaculty); }else{ $totfaccount = 0; } $cntcount = 1; @endphp @if($totfaccount>0) @foreach($selectfaculty as $teacher) {{ Str::upper($teacher->full_name) }}@if($cntcount < $totfaccount)/@endif @php $cntcount++; @endphp @endforeach @else ---- @endif
Type L - LECTURE / T - TUTORIAL / P - PRACTICAL / PC - PRACTICE
@endif @endsection