@extends('layouts/eims_layout') @section('title', '| ' . $pageTitle) @section('content')
Edit {{ $pageTitle }}
{!! Form::open([ 'url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'courseClassRoutineForm', 'method' => 'POST' ]) !!}
{!! Form::label('program_id', $companyType == 'SCL' ? 'Medium:' : 'Program:', ['class' => 'control-label col-sm-12'], false) !!}
{!! Form::label('session_id', 'Session:', ['class' => 'control-label col-sm-12'], false) !!}
{!! Form::label('program_id', $companyType == 'SCL' ? 'Class:' : 'Semester:', ['class' => 'control-label col-sm-12'], false) !!}
{!! Form::label('program_id', $companyType == 'SCL' ? 'Class Group:' : 'Semester Group:', ['class' => 'control-label col-sm-12'], false) !!}
{!! Form::label('section_id', 'Section:', ['class' => 'control-label col-sm-12'], false) !!}
{!! Form::label( 'shift_id', 'Shift:*', ['class' => 'control-label col-sm-12 '], false ) !!}

  • {{ $course_class_routine_data->eims_semester_class->name ?? 'N/A' }} Class Routine

  • Program/Medium : {{ $course_class_routine_data->eims_program->name ?? 'N/A' }}
  • Session : {{ $course_class_routine_data->eims_session->name ?? 'N/A' }}
  • Class : {{ $course_class_routine_data->eims_semester_class->name ?? 'N/A' }} ({{ $course_class_routine_data->eims_section->name ?? 'N/A' }})(({{ $course_class_routine_data->eims_semester_class_group->name ?? 'N/A' }}))
@if ($weekDays)
@foreach ($weekDays as $weekKey => $weekName)
@php $weekKeyRow = $weekKey.'1'; $routineIndex = 0; @endphp @forelse ($course_class_routine_data->eims_course_class_teacher_routine_details->where('week_day_id', $weekKey) as $routineDetail) @php $routineIndex++; $weekKeyRow = $weekKey . $routineIndex; @endphp @empty @php $routineIndex = 1; @endphp @endforelse
{{ $companyType == 'UNV' ? 'Course' : 'Subject' }} * Teacher * From Time * End Time * Room No * Action

@if($routineIndex == 1) @else @endif

@endforeach
@endif
{!! Form::label('submit', ' ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::submit('Update', ['id' => 'add', 'class' => 'btn btn-info submitButton']) !!} Close
{!! Form::close() !!}
@endsection