@extends('layouts.app') @section('title', 'Ticket #' . $ticket->id . ' - Gletra Elite') @section('content')
@include('customer.partials.sidebar')

{{ $ticket->subject }}

@php $statusColors = [ 'open' => ['bg' => 'hsl(142, 70%, 95%)', 'text' => 'hsl(142, 70%, 25%)'], 'closed' => ['bg' => 'hsl(210, 20%, 95%)', 'text' => 'hsl(210, 10%, 45%)'], 'pending' => ['bg' => 'hsl(38, 90%, 95%)', 'text' => 'hsl(38, 90%, 25%)'] ]; $colors = $statusColors[$ticket->status] ?? ['bg' => '#eee', 'text' => '#444']; @endphp {{ $ticket->status }} Opened {{ $ticket->created_at->diffForHumans() }}
{{ strtoupper(substr(auth()->user()->name, 0, 1)) }}
{{ auth()->user()->name }}

Incident Reporter

{!! nl2br(e($ticket->message)) !!}
@foreach($ticket->replies as $reply)
{{ $reply->user->role == 'admin' ? 'G' : strtoupper(substr($reply->user->name, 0, 1)) }}
{{ $reply->user->name }} @if($reply->user->role == 'admin') OFFICIAL RESPONSE @endif

{{ $reply->created_at->diffForHumans() }}

{!! nl2br(e($reply->message)) !!}
@endforeach
@if($ticket->status == 'open')
Draft Response
@csrf

Secure Encrypted Channel

@else

Protocol Terminated

This ticket has been officially closed and resolution archive confirmed.

New Incident Report
@endif
Metadata Matrix
Incident Category {{ $ticket->category }}
Threat Level @php $priorityColors = [ 'high' => 'text-danger', 'medium' => 'text-warning', 'low' => 'text-info' ]; $pColor = $priorityColors[$ticket->priority] ?? 'text-primary'; @endphp {{ $ticket->priority }}
Assigned Agent Gletra Concierge
Concierge Promise

You are currently under Gletra Elite protection. Our agents are committed to resolution within 12 standard operational hours.

24/7 ACTIVE PRIORITY ALPHA
@endsection