@extends('layouts.app') @section('title', $portalLabel) @section('styles') @endsection @section('content')

{{ $portalLabel }}

{{ $portalDescription }}

Start Live Chat
@if(session('success'))
{{ session('success') }}
@endif
Total Conversations
{{ $tickets->total() }}
Open / In Progress
{{ $openTickets }}
Resolved
{{ $resolvedTickets }}
Live Chat Threads
Reply from web or app and admin sees the same thread
@forelse($tickets as $ticket)
{{ $ticket->subject }}
{{ ucfirst(str_replace('_', ' ', $ticket->category)) }} • {{ ucfirst($ticket->priority) }} priority • Updated {{ $ticket->updated_at->diffForHumans() }}
@if($ticket->latestReply)
{{ \Illuminate\Support\Str::limit($ticket->latestReply->message, 120) }}
@endif
{{ ucfirst(str_replace('_', ' ', $ticket->status)) }} Open Chat
@empty
No live chats yet

Start a conversation and our admin support team will reply in the same thread.

@endforelse
{{ $tickets->links() }}
@endsection