@extends('layouts.admin') @section('title', $resourceLabel ?? 'Interviews') @section('content') @php $breadcrumbs = [ ['label' => 'Home', 'href' => route('dashboard')], ['label' => 'Student Admission', 'href' => route('admission.dashboard')], ['label' => 'Interviews'], ]; $columns = [ ['key' => 'application.application_number', 'label' => 'Application'], ['key' => 'scheduled_at', 'label' => 'Scheduled'], ['key' => 'venue', 'label' => 'Venue'], ['key' => 'status', 'label' => 'Status', 'render' => 'status'], ]; $resourceLabel = $resourceLabel ?? 'Interviews'; $routePrefix = $routePrefix ?? 'admission.interviews'; $permissionPrefix = $permissionPrefix ?? 'admission.interviews'; $stats = $stats ?? []; $filters = $filters ?? []; if (!isset($records)) { $records = $documents ?? $reviews ?? $decisions ?? $letters ?? $invoices ?? new \Illuminate\Pagination\LengthAwarePaginator([], 0, 15); } @endphp @include('institution.crud.index', compact('breadcrumbs', 'columns')) @endsection