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

Records / Batches

@if(count($batches) != 0 && !empty($batches)) @for ($i =0 ; $i < count($batches); $i+=4) @for ( $j=$i ; $j<$i+4; $j++) @if ($j
Card image cap

{{strtoupper($batches[$j]->name)}}

( {{$batches[$j]->teacher->first_name?ucwords($batches[$j]->teacher->first_name):'N/A'}} {{$batches[$j]->teacher->last_name?ucwords($batches[$j]->teacher->last_name):'N/A' }} )
  • Mode: {{strtoupper($batches[$j]->mode)}}
  • Standard: {{$batches[$j]->class_name}}
  • Start Time: {{date("h:i a", strtotime($batches[$j]->start_time))}}
  • End Time: {{date("h:i a", strtotime($batches[$j]->end_time))}}
{{-- View More !!! --}} View More !!!
@else
@endif @endfor @endfor @else @endif
id Column 1 Column 2 Column 3 Column 4
{{$i}}
Currently no batch is available.
@endsection