@extends('layouts.app') @section('title', 'Batches') @push('styles') @endpush @section('content')

Batches

Total: {{ count($batches) }} batches

Export CSV
@if(request()->anyFilled(['search', 'board', 'class'])) Clear @endif
@forelse ($batches as $batch) @empty @endforelse
Name Board / Class / Stream Subject Teacher Actions
{{ $batch->name }} {{ $batch->board->name ?? '' }} / {{ $batch->classModel->name ?? '' }} / {{ $batch->stream->name ?? '' }} {{ $batch->subject->name ?? '' }} {{ $batch->teacher->full_name ?? '' }}
No batches found.
@if(method_exists($batches, 'links'))
{{ $batches->appends(request()->query())->links() }}
@endif

Confirm Delete

Are you sure? This cannot be undone.

@csrf @method('DELETE')
@endsection