@extends('admin.layouts.app') @section('title', (isset($content->name) ? $content->name : ''). ' Batch') @section('page_css') @endsection @section('section')

Batch Detail

{{-- @if(course_is_joinable($content->id))--}} {{-- --}} {{-- @endif--}} Start streaming
{{-- --}} @if($content->is_physical) @if($content->physical_class_type == 'group') @endif @endif @if(!is_null($content->date_range)) @else @foreach($content->batch_dates as $batch_date) @endforeach @endif @if(count($content->batch_sessions)) @endif
Batch Name {{$content->name??''}}
Course {{$content->course->name??''}}
Is online {{$content->is_online ? 'yes' : 'no'}}
Is Physical {{$content->is_physical ? 'yes' : 'no'}}
Physical Class Type {{$content->physical_class_type}}
Number of Seats {{$content->number_of_seats}}
Date {{$content->date_range??''}}
From {{Carbon\Carbon::parse($content->time_from)->format('g:i A')??''}}
To {{Carbon\Carbon::parse($content->time_to)->format('g:i A')??''}}
Date From To
{{$batch_date->date}} {{Carbon\Carbon::parse($batch_date->time_from)->format('g:i A')}} {{Carbon\Carbon::parse($batch_date->time_to)->format('g:i A')}}
Registered Students @foreach($content->batch_sessions as $batch_session) @endforeach
Name Email Phone
{{$batch_session->user->name ?? ''}} {{$batch_session->user->email ?? ''}} {{$batch_session->user->phone ?? ''}}
Notify students(email)
@csrf
@endsection