@extends('backEnd.layouts.master') @section('title', 'Website Inquiry Report') @section('content')

Website Inquiry Report

Home page website chat — Orders / WhatsApp Inbox থেকে আলাদা
Total Inquiries
{{ $summary['total'] ?? 0 }}
New (Open)
{{ $summary['open'] ?? 0 }}
Replied (Waiting)
{{ $summary['waiting'] ?? 0 }}
Resolved
{{ $summary['resolved'] ?? 0 }}
@if(!empty($summary['avg_reply_minutes']))
Average first reply time: {{ $summary['avg_reply_minutes'] }} min
@endif
@forelse($rows as $row) @empty @endforelse
ID Customer Phone Status Last Message Assigned Updated
#WEB-{{ $row->id }} {{ $row->customer_name ?: 'Website Visitor' }} {{ $row->customer_phone ?: '—' }} {{ $row->statusLabel() }} {{ \Illuminate\Support\Str::limit($row->latestMessage?->content ?? '—', 60) }} {{ $row->assignedUser?->name ?: '—' }} {{ $row->last_customer_message_at?->format('d M, h:i A') ?: $row->created_at?->format('d M, h:i A') }}
No website inquiries in this range.
@if($rows->hasPages()) @endif
@endsection