Records / Fee Request
@php
$yearRange = session('year_range'); // Example: "2023-2024"
$currentDate = now();
[$startYear, $endYear] = explode('-', $yearRange);
$startDate = \Carbon\Carbon::create($startYear, 4, 1, 0, 0, 0); // April 1st
$endDate = \Carbon\Carbon::create($endYear, 3, 31, 23, 59, 59); // March 31st
@endphp
@if (isset($invoices) && count($invoices) > 0 && $invoices->where('payment_status', 'Pending')->count() > 0)
@endif
@if (isset($invoices) && count($invoices) > 0 && $invoices->where('payment_status', 'Completed')->count() > 0)
@endif
{{ $request }} Request
{{-- Bulk ZIP download button (hidden until user clicks your filter button) --}}
@include('components.datefilter')