@extends('layouts.admin') @section('title', 'Ticket ' . $ticket->ticket_no) @section('content')
← Volver a tickets

🎫 {{ $ticket->ticket_no }}

{{-- Main Content --}}
{{-- Ticket Description --}}

{{ $ticket->subject }}

{!! nl2br(e($ticket->description)) !!}
{{ $ticket->created_at->format('d/m/Y H:i') }}
{{-- Replies --}} @foreach($ticket->replies as $reply)
{{ $reply->author_name ?? ucfirst($reply->author_type) }} {{ ucfirst($reply->author_type) }} {{ $reply->created_at->diffForHumans() }}
{!! nl2br(e($reply->content)) !!}
@endforeach {{-- Reply Form --}}

Responder

@csrf
{{-- Conversation Link --}} @if($ticket->conversation) @endif
{{-- Sidebar --}}
{{-- Status Update --}}

Gestión

@csrf @method('PATCH')
{{-- Client Info --}}

Cliente

Nombre: {{ $ticket->visitor_name ?? '-' }}
Email: {{ $ticket->visitor_email ?? '-' }}
WhatsApp: {{ $ticket->visitor_phone ?? '-' }}
Producto: {{ $ticket->product ?? '-' }}
Creado: {{ $ticket->created_at->format('d/m/Y H:i') }}
@endsection