@extends('layouts.main') @section('main-content') @php $filterUrl = Request::fullUrl(); $clearFilterUrl = explode("?", $filterUrl)[0]; $queryParams = $filters; $showFilter = collect($queryParams)->filter(function ($value, $key){ return !empty($value); })->isNotEmpty(); $accountingPeriods = getAccountingPeriods(); @endphp Apply any or all of the filters below to streamline your search Clear Filter Show/Hide Filter Ministry Filter By Ministry @foreach($ministries as $ministry) id == old('filter_ministry', $queryParams->filter_ministry)) selected @endif value="{{ $ministry->id }}">{{ $ministry->display_name }} @endforeach Department Filter By Department @foreach($departments as $department) id == old('filter_department', $queryParams->filter_department ?? '')) selected @endif value="{{ $department->id }}">{{ $department->display_name }} @endforeach Service Filter By Service @foreach($services as $service) id == old('filter_service', $queryParams->filter_service ?? '')) selected @endif value="{{ $service->id }}">{{ $service->name }} @endforeach Payment Made From Payment Made Till Accounting Period Filter by Accounting Period @foreach($accountingPeriods as $period) accounting_period) == $period->id) ? 'selected': '' }}>{{ $period->name }} @endforeach Filter 1 ? $filterUrl . '&download_report=yes' : $filterUrl .'?download_report=yes'}}" tabindex="0" aria-controls="example"> Download Report Payments Report Per Bank Payments Report Per Bank S/N Account Bank Revenue @endsection @section('more-scripts') @stop