@extends('layouts.admin') {{ config('app.name', 'Laravel') }} | Admin | Course Batches @section('main-content')

{{ucfirst($course[0]->coursename)}}

Standard:- {{$course[0]->class_name}}th

Duration:- {{$course[0]->courseduration}} {{'( '.date("d-m-Y",strtotime($course[0]->start_date)).' to '.date("d-m-Y",strtotime($course[0]->end_date)).' )'}}

Edit @if (!$check_enrollments_exists)
@csrf @method('DELETE')
@endif
@if (isset($batch_list) && count($batch_list))
@foreach ($batch_list as $batch)
Card image cap
{{$batchname}}

Timing: {{$start_time." to ".$end_time}}
Subject: {{$subject_name}}
Mode: {{$mode}}
Fee: ₹{{$fee}}

View More !!!

Student List
@endforeach @else

No batch Found

@endif
@if(count($student_list) != 0) @foreach($student_list as $key => $student) @endforeach @endif
First Name Last Name Action
{{ $student->first_name }} {{ $student->last_name }} View
@if (count($batch_list)>0)

{{(count($student_list)==0)?"No Student Enrolled":""}}

@endif
{{-- Modal script --}} @endsection