@extends('layout.app') @section('styles') @endsection @section('content')

Cancel Line Request Report

Reset

Cancelled Requests

Total: {{ $lists->count() }}
@forelse ($lists as $i => $list) @empty @endforelse
ID Cancelled At Name / Phone POP / Package Activation Date Survey Status Cancel Reasons Cancel Remarks Survey Remarks Cancelled By Created By Location Action
#{{ $list->id }} {{ $list->updated_at ? $list->updated_at->format('d M Y H:i') : 'N/A' }} {{ $list->name ?? 'N/A' }}
{{ $list->phone ?? 'N/A' }}
{{ $list->pop->popname ?? 'N/A' }}
{{ $list->package->package_name ?? 'N/A' }}
{{ $list->confirm_activation_date ? \Carbon\Carbon::parse($list->confirm_activation_date)->format('d M Y H:i') : 'N/A' }} @if ($list->survey_status === 'Not Coverage') Not Coverage @else — @endif @php $reasonItems = $list->survey_status === 'Not Coverage' ? $list->surveyCancelReason : $list->cancelReasons; @endphp @forelse ($reasonItems as $cr) {{ $cr->CancelReason->reason ?? 'N/A' }}
@empty — @endforelse
{{ $list->approval_remarks ?? '—' }} {{ $list->survey_remarks ?? '—' }} @if ($list->survey_status === 'Not Coverage') {{ $list->surveyedBy->name ?? 'N/A' }} @else {{ $list->marketingDoneUser->name ?? 'N/A' }} @endif {{ $list->user->name ?? 'WebSite' }} @php $parts = array_filter([ $divisionMap[$list->division_id] ?? null, $districtMap[$list->district_id] ?? null, $upazilaMap[$list->upazila_id] ?? null, $thanaMap[$list->thana_id] ?? null, ]); @endphp {{ implode(', ', $parts) ?: '—' }}
No cancelled requests found.
@endsection @section('ajax') @endsection