@extends('tickets.guest_layout') @section('content')
Volver al Dashboard
#{{ $ticket->id }} {{ $ticket->title }}
@if($ticket->status == 'waiting') En Espera @elseif($ticket->status == 'in_progress') En Progreso @else Cerrado @endif

Descripción del Problema:

{!! nl2br(e($ticket->description)) !!}

@if($ticket->attachments)
Archivos Adjuntos:
@foreach($ticket->attachments as $att) Ver Archivo @endforeach
@endif
Historial de Conversación
@forelse($ticket->messages as $msg)
{{ $msg->type == 'support' ? 'Equipo de Soporte' : 'Tú' }}
{!! nl2br(e($msg->message)) !!}
@if($msg->attachments)
@foreach($msg->attachments as $att) Adjunto @endforeach
@endif
{{ $msg->created_at->format('d M, h:i A') }}
@empty

Aún no hay respuestas en este ticket.

@endforelse
@if($ticket->status != 'closed')
Escribir Respuesta
@csrf
Máx 2 archivos.
@else
Ticket Cerrado

Este caso ha sido marcado como resuelto. Si necesitas más ayuda, por favor crea un nuevo ticket.

@endif
Detalles del Ticket
  • Plataforma {{ ucfirst($ticket->platform) }}
  • Categoría {{ $ticket->category->name ?? 'General' }}
  • Creado {{ $ticket->created_at->format('d/m/Y') }}
  • Última Actualización {{ $ticket->updated_at->diffForHumans() }}
¿Necesitas algo más?

Nuestro equipo revisa los tickets constantemente. Si tienes nueva información, agrégala en el chat.

@endsection