@extends('layouts.app') @section('title', __('FilMS Historical Data')) @push('stylesheets') @include('reports.partials.mec-listing-table-styles') @include('partials.filter-card-styles') @include('partials.collapsible-filter-styles') @include('partials.index-datatable-styles') @endpush @section('contents') @php $filmsFiltersOpen = trim((string) request('search', '')) !== '' || trim((string) ($filters['uid'] ?? '')) !== '' || trim((string) ($filters['adp_number'] ?? '')) !== '' || trim((string) ($filters['adp_year'] ?? '')) !== '' || trim((string) ($filters['scheme_name'] ?? '')) !== '' || trim((string) ($filters['assessment_status'] ?? '')) !== ''; @endphp @if (! empty($perPage)) @endif {{ __('Search') }} {{ __('UID') }} {{ __('ADP') }} {{ __('Fiscal Year') }} {{ __('All Years') }} @foreach (($fiscalYearOptions ?? []) as $year) {{ $year }} @endforeach {{ __('Scheme Name') }} {{ __('Report Status') }} {{ __('All Report Statuses') }} @foreach (($assessmentOptions ?? []) as $value => $label) {{ $label }} @endforeach {{ __('Filter') }} {{ __('FilMS Historical Data') }} @include('reports.partials.mec-listing-scheme-name-toggle') @include('films.historical.partials.listing-table', [ 'tableId' => 'filmsHistoricalTable', 'listingRows' => $listingRows ?? [], ]) @if ($records->hasPages()) {!! view('components.per-page-selector', ['current' => $perPage ?? 25, 'baseUrl' => route('films.historical.index')])->render() !!} {!! $records->links('vendor.pagination.bootstrap-4') !!} @endif {{ __('FilMS Record') }} × @endsection @push('scripts') @include('partials.index-datatable-scripts') @include('partials.collapsible-filter-scripts') @include('reports.partials.mec-listing-filter-form-scripts') @include('reports.partials.mec-listing-scheme-name-toggle-scripts') @endpush