@extends('admin.layouts.app') @section('title', (isset($content->id) ? 'Edit' : 'Add').' Batch') @section('section')

Session Form

Session

@csrf
@if(Session::has('msg'))
{{Session::get('msg')}}
@endif
@error('name') {{ $message }} @enderror
@error('course_id') {{ $message }} @enderror
{{--
is_online == 1 ? 'checked' : '' !!}> @error('is_online') {{ $message }} @enderror
--}}
{{-- is_physical == 1 ? 'checked' : '' !!}>--}} @error('is_physical') {{ $message }} @enderror
physical_class_type != 'group' ? 'hidden' : '' !!}> @error('number_of_seats') {{ $message }} @enderror
batch_dates) == 0 ? 'checked' : '' !!}> batch_dates) > 0 ? 'checked' : '' !!}>
batch_dates) > 0 ? 'hidden' : '' !!}> date_range == 1 ? 'checked' : '' !!}> @error('date_range') {{ $message }} @enderror
batch_dates) == 0 ? 'hidden' : '' !!}>
@if(isset($content) && count($content->batch_dates) > 0) @foreach($content->batch_dates as $batch_date)
@endforeach @endif {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
--}}
@endsection @section('script') @endsection