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

Registered Course Detail

{{-- @if(course_is_joinable($content->course->id))--}} {{-- --}} {{-- @endif--}} @if($content->class_type == 'online' && $content->batch->is_streaming) Join @endif
ID {{$content->id??''}}
Course Name {{$content->batch->course->name??''}}
Batch Name {{$content->batch->name??''}}
Course Fees {{$content->batch->course->fees??''}}
Class Type {{$content->class_type??''}}
Physical Class Type {{$content->physical_class_type??''}}

Course Schedule

@if(!is_null($content->batch->date_range)) @else @foreach($content->batch->batch_dates as $batch_date) @endforeach @endif
Date {{$content->batch->date_range??''}}
From {{Carbon\Carbon::parse($content->batch->time_from)->format('g:i A')??''}}
To {{Carbon\Carbon::parse($content->batch->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')}}
@endsection