@extends('layouts.admin') @section('title', $resourceLabel ?? 'Semester Registrations') @section('content') @php $breadcrumbs = [ ['label' => 'Home', 'href' => route('dashboard')], ['label' => 'Student Registration', 'href' => route('registration.dashboard')], ['label' => $resourceLabel ?? 'Semester Registrations'], ]; $columns = [ ['key' => 'id', 'label' => 'Id'], ['key' => 'registration_status', 'label' => 'Registration Status', 'render' => 'status'], ['key' => 'total_credits', 'label' => 'Total Credits'], ['key' => 'status', 'label' => 'Status', 'render' => 'status'], ]; $resourceLabel = $resourceLabel ?? 'Semester Registrations'; $routePrefix = $routePrefix ?? 'registration.semester-registrations'; $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