@extends('layouts.app') @section('title', 'Tracking Form') @section('meta') @vite('resources/css/agent.css') @endsection @section('content') {{-- Success Message --}} @if (session('success')) {{ session('success') }} @endif {{-- Error Messages --}} @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif RU CASE Record, track and collaborate on customer escalations No Ticket Found: Customer Detail From COMS @if ($ici) Viewing Specific Ticket @endif Complaint # @if ($ici) Search disabled - viewing ticket {{ $ici->ticket_number }} @else Fetch customer/job details from COMS @endif Job # COMS Complaint Date Job Type Service Center Customer Name Contact No Technician Name Date of Purchase Product Job Status Problem {{ $ici && $ici->coms ? $ici->coms->problem : '' }} Work Done {{ $ici && $ici->coms ? $ici->coms->work_done : '' }} Complaint History No history available. Search for a complaint to see history. @csrf Initial Customer Information View Only Ticket No Complaint Escalation Date Case Status Aging Complaint Category Agent Name Reason of Escalation Escalation Level Voice of Customer {{ $ici->voice_of_customer ?? '' }} {{-- Happy Call Section --}} @if($ici && $ici->case_status === 'Resolved' && $ici->happyCallStatus) Happy Call Status Completed Case Resolved Date Happy Call Date Customer Satisfied Delay Reason Additional Customer Feedback {{ $ici->happyCallStatus->voice_of_customer }} @elseif($ici && $ici->case_status === 'Resolved' && !$ici->happyCallStatus) Happy Call Status Pending Submission Happy Call data has not been submitted yet. Only authorized personnel can submit this information. @endif {{-- Chat section --}} @php $shouldShowChat = $ici; @endphp {{-- Config for chat.js (used when chatArea is updated via AJAX) --}} {{-- Chat header --}} Feedback {{ $ici->ticket_number ?? '' }} {{-- Chat box --}} @if ($ici) @forelse($feedbacks as $feedback) @php $isMe = isset(auth()->user()->name) && $feedback->name === auth()->user()->name; $messageClass = $isMe ? 'justify-content-end' : 'justify-content-start'; $bgColor = $isMe ? '#d1e7dd' : '#e2e3e5'; $senderName = $isMe ? 'You' : $feedback->name; @endphp {{ $senderName }} ({{ $feedback->role }}) {{ $feedback->message }} {{ $feedback->created_at->format('d M Y, h:i A') }} @empty No feedback yet. Be the first to send a message! @endforelse @endif {{-- Chat input --}} @endsection @section('scripts') @endsection
Record, track and collaborate on customer escalations
No history available. Search for a complaint to see history.
No feedback yet. Be the first to send a message!