{{-- Content-only partial (no @extends). Use inside @section('content') blocks. --}} @php $breadcrumbs = $breadcrumbs ?? [ ['label' => 'Home', 'href' => route('dashboard')], ['label' => 'Examination', 'href' => route('examination.dashboard')], ['label' => $resourceLabel ?? 'Records'], ]; $columns = $columns ?? [ ['key' => 'code', 'label' => 'Code'], ['key' => 'name', 'label' => 'Name'], ['key' => 'status', 'label' => 'Status', 'render' => 'status'], ]; $routePrefix = $routePrefix ?? 'examination.records'; $permissionPrefix = $permissionPrefix ?? 'examination.records'; $stats = $stats ?? []; $filters = $filters ?? []; if (!isset($records)) { $records = new \Illuminate\Pagination\LengthAwarePaginator([], 0, 15); } @endphp @include('institution.crud.index', compact('breadcrumbs', 'columns'))