@extends('layouts.admin') @section('title', $resourceLabel ?? 'Deferments') @section('content') @php $breadcrumbs = [ ['label' => 'Home', 'href' => route('dashboard')], ['label' => 'Student Registration', 'href' => route('registration.dashboard')], ['label' => $resourceLabel ?? 'Deferments'], ]; $columns = [ ['key' => 'id', 'label' => 'Id'], ['key' => 'reason', 'label' => 'Reason'], ['key' => 'status', 'label' => 'Status', 'render' => 'status'], ]; $resourceLabel = $resourceLabel ?? 'Deferments'; $routePrefix = $routePrefix ?? 'registration.deferments'; $permissionPrefix = $permissionPrefix ?? 'student.registration'; $stats = $stats ?? []; $filters = $filters ?? []; if (!isset($records)) { $records = new \Illuminate\Pagination\LengthAwarePaginator([], 0, 15); } @endphp @include('institution.crud.index', compact('breadcrumbs', 'columns')) @endsection