@extends('layouts.admin') @section('title', $resourceLabel ?? 'Scholarships') @section('content') @php $breadcrumbs = [ ['label' => 'Home', 'href' => route('dashboard')], ['label' => 'Student Finance', 'href' => route('finance.dashboard')], ['label' => $resourceLabel ?? 'Scholarships'], ]; $columns = [ ['key' => 'code', 'label' => 'Code'], ['key' => 'name', 'label' => 'Name'], ['key' => 'status', 'label' => 'Status', 'render' => 'status'], ]; $resourceLabel = $resourceLabel ?? 'Scholarships'; $routePrefix = $routePrefix ?? 'finance.scholarships'; $permissionPrefix = $permissionPrefix ?? 'finance.scholarships'; $stats = $stats ?? []; $filters = $filters ?? []; if (!isset($records)) { $records = new \Illuminate\Pagination\LengthAwarePaginator([], 0, 15); } @endphp @include('institution.crud.index', compact('breadcrumbs', 'columns')) @endsection