@extends('layouts.admin')
@section('title', 'Batches')
@section('heading', 'Internship Batches')
@section('subheading', 'Main and repeat internship intakes. Each batch runs for one year with four quarterly evaluation cycles.')
@section('actions')
New batch
@endsection
@use('App\Models\InternshipBatch', 'Batch')
@section('content')
@php
$statusChip = [
'upcoming' => ['Upcoming', 'bg-blue-50 text-blue-700 ring-blue-200'],
'in_progress' => ['In progress', 'bg-emerald-50 text-emerald-700 ring-emerald-200'],
'completed' => ['Completed', 'bg-slate-100 text-slate-600 ring-slate-200'],
'inactive' => ['Inactive', 'bg-slate-100 text-slate-500 ring-slate-200'],
];
@endphp
Create a batch to set the internship start date. The completion date and evaluation cycles are generated automatically.{{ request()->hasAny(['q', 'year', 'type']) ? 'No batches match your filters' : 'No internship batches yet' }}
{{ $b->typeLabel() }} batch · {{ $b->year }}
{{ $b->description }}
@endif{{ $b->code }}