@extends('layouts.teacher') {{ config('app.name', 'Laravel') }} | Teacher | Students @section('main-content')
@if(Session::has('success')) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Student / Records

@if(!empty($batchdetail))

Student Batch Details

@foreach($batchdetail as $detail)
{{ $detail->name }}

Class Name: {{ $detail->class_name }}

@if($detail->subject_name)

Subject: {{ $detail->subject_name }}

@endif

Batch Start Time: {{ \Carbon\Carbon::parse($detail->start_time)->format('g:i A') }}

Batch End Time: {{ \Carbon\Carbon::parse($detail->end_time)->format('g:i A') }}

Syllabus: {!! $trimmedContent !!}
@endforeach @else

Student Batch Details

No batch details available.

@endif
@foreach($batchdetail as $detail) @endforeach
@endsection