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