@extends('teacher.teacher_dashboard') @section('customcss') @endsection @section('admin') @php $isCompleted = $onlineClass->runtime_status === 'completed'; $canAddRecording = $onlineClass->can_add_recording; $classDateYmd = old('class_date', $onlineClass->class_date?->format('Y-m-d')); $classDateDisplay = $classDateYmd ? \Carbon\Carbon::parse($classDateYmd)->format('d-m-Y') : ''; @endphp
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')

Edit Online Class

@if($isCompleted)
This class is already completed. Recording link can be updated now.
@else
Recording link can be added only after class completion.
@endif
{{-- Session --}}
{{-- Class --}}
{{-- Section --}}
{{-- Subject --}}
{{-- Platform --}}
{{-- Platform Preview --}}
Selected Platform
Not Selected
{{-- Runtime Status --}}
Runtime Status
{{ ucfirst($onlineClass->runtime_status) }}
{{-- Class Date --}}
{{-- Start Time --}}
{{-- End Time --}}
{{-- Meeting Link --}}
{{-- Recording Link --}}
@if(!$canAddRecording) Class complete হওয়ার আগে recording link দেওয়া যাবে না। @endif
@endsection @section('customjs') @endsection