@extends('layouts.admin') @section('title', $resourceLabel ?? 'Student Notes') @section('content') @php $breadcrumbs = [ ['label' => 'Home', 'href' => route('dashboard')], ['label' => 'Student Registration', 'href' => route('registration.dashboard')], ['label' => $resourceLabel ?? 'Student Notes'], ]; $columns = [ ['key' => 'title', 'label' => 'Title'], ['key' => 'is_private', 'label' => 'Is Private'], ['key' => 'status', 'label' => 'Status', 'render' => 'status'], ]; $resourceLabel = $resourceLabel ?? 'Student Notes'; $routePrefix = $routePrefix ?? 'registration.student-notes'; $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