@extends('layouts.app') @section('title', 'Customer Service Command Center') @section('content')

Customer experience & case visibility

Customer Service Command Center

Answer inquiries using live application status and a complete communication trail.

Customer 360@if(auth()->user()->hasPermission('communications.view'))Communication Center@endif
@foreach([ ['Active Applications',$metrics['active_applications'],'text-blue-600'], ['Returned Cases',$metrics['returned_cases'],'text-amber-600'], ['Incoming (7 Days)',$metrics['incoming_messages'],'text-emerald-600'], ['Queued Updates',$metrics['queued_updates'],'text-violet-600'], ['Upcoming Visits',$metrics['appointments'],'text-orange-600'] ] as [$label,$value,$color])

{{ $label }}

{{ number_format($value) }}
@endforeach

Cases Requiring Visibility

Latest open customer applications and current workflow stages.

View directory
@forelse($recentApplications as $application) @empty @endforelse
ApplicationCustomerService / StageStatus
{{ $application->application_number }}{{ $application->created_at->diffForHumans() }}{{ $application->customer?->full_name_en ?? 'Customer unavailable' }}{{ $application->customer?->primary_mobile }}{{ $application->service?->name_en ?? 'Unassigned service' }}{{ $application->currentStage?->stage_name_en ?? 'Start stage' }}{{ str($application->status)->replace('_',' ')->title() }}
CNo active customer cases

Open applications will appear here.

Recent Conversations

Omnichannel messages with delivery status and record links.

@if(auth()->user()->hasPermission('communications.view'))Open center@endif
@forelse($recentCommunications as $message)
{{ substr($message->channel,0,2) }}
{{ $message->customer?->full_name_en ?? $message->recipient }}{{ ucfirst($message->status) }}

{{ $message->subject ?: str($message->message)->limit(90) }}

{{ ucfirst($message->direction) }} · {{ ucfirst($message->channel) }} · {{ $message->created_at->diffForHumans() }}
@empty
MNo communication history

Messages sent through the communication center will be logged here.

@endforelse
@endsection