{{-- Shared create/edit batch form. $batch is null when creating. --}} @php $value = fn ($field, $default = null) => old($field, $batch?->{$field} ?? $default); $selectedDays = array_map('intval', old('days', $batch?->days ?? [])); @endphp
Leave “Fee override” empty to charge the course fee. Room and instructor clashes with other open batches are blocked automatically.