@extends('layouts.app') @section('admin_title', 'Admin Batches') @section('content') @php $adminCtx = \App\Helpers\AdminContext::get(); $collegeDepts = $adminCtx ? \App\Helpers\AdminContext::departments() : collect(); @endphp
@if(session('error'))
{{ session('error') }}
@endif
@csrf

Select Department for Batches

Choose a department to view and manage its sections/batches.

@if($adminCtx)
@else
@endif
@if(!$adminCtx) @endif @endsection