@include('common.header_links')
@include('common.header') @include('common.sidebar')

{{ $title }}

{{ $title }} displays the list of complaints matching the selected criteria. Use the date range filters to search records between specific dates and export the results to Excel if required.
@if(session('error'))
@endif @if(session('success'))
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Filter {{ $title }}

Reset
Report is being prepared.
All complaint details and images must be loaded before Print and Export options become available. Please wait...

{{ $title }} @if(!empty($filters['from_date']) && !empty($filters['to_date'])) - @if($filters['from_date'] == $filters['to_date']) {{ \Carbon\Carbon::parse($filters['from_date'])->format('d/m/Y') }} @else From {{ \Carbon\Carbon::parse($filters['from_date'])->format('d/m/Y') }} To {{ \Carbon\Carbon::parse($filters['to_date'])->format('d/m/Y') }} @endif @endif

@if($filters['type']=='resolved') @endif @if($filters['type']=='unresolved') @endif @forelse ($params as $index => $list) @if($filters['type'] == 'resolved') @endif @if($filters['type'] == 'unresolved') @endif @empty @endforelse
# Municipality Category Complaint Date Time Complaint ImageResolved Date Time Resolved Image Time Taken for ResolvedRejected Date Time Rejected Reason
{{ $index + 1 }}. {{ $list->municipality_name }} {{ $list->complaint_category }} {{ $list->formatted_created_at }} {{ $list->formatted_updated_at }} @php $start = \Carbon\Carbon::parse($list->created_at); $end = \Carbon\Carbon::parse($list->updated_at); $totalMinutes = $start->diffInMinutes($end); $hours = floor($totalMinutes / 60); $minutes = $totalMinutes % 60; @endphp {{ $hours }} Hr. {{ $minutes }} Min. {{ $list->formatted_updated_at }} {{ $list->latest_remark }}
No {{ ucfirst($filters['type']) }} complaints found for the selected date range.
@include('common.footer')
@include('common.script')