@extends('cfp.layouts.master') @section('content')

{{ __("cfp.TicketDetails") }} #{{ $ticket->TID }}

{{ $ticket->user->NICK ?? "No character" }}
{{ $ticket->TICKET_SUBJECT }}
{{ $ticket->category->CATEGORY_NAME }}
{{ $ticket->authority->NICK ?? "Waiting ..." }}
{!! Helper::web_getTicketStatus($ticket->TICKET_STATUS_NARF, true) !!}
{{ Helper::date_stringFormat($ticket->REG_DATE) }}
@if ($ticket->LAST_UPDATE != null) {{ Helper::date_stringFormat($ticket->LAST_UPDATE) }} @else Waiting ... @endif

{{ __("cfp.AnswerTheTicket") }}

@if ($ticket->TICKET_STATUS_NARF != 'F') @if ($ticket->authority != null && $ticket->authority->USN != $user_data->USN)
{{ __("cfp.TopicResponsible") }} {{ $ticket->authority->NICK }}.
@endif @include('cfp.components.error_alert', ["isSession" => false, "name" => "text"]) @include('cfp.components.error_alert')
TID) }}"> @csrf
@if ($ticket->authority != null && $ticket->authority->USN == $user_data->USN)
@else
@endif
@else
{{ __("cfp.TicketFinalized") }}.
@endif

{{ __("cfp.TicketResponse") }}

@forelse ($ticket->answers as $answer)
@if(isset($answer->user))

Reply from {{ $answer->user->NICK }}

@else

Reply from Unknown

@endif

{{ $answer->TEXT ?? "N/A" }}

@empty

{{ __("cfp.TicketNoAnswerNoResponsible") }}.
{{ __("cfp.TicketSetOwner") }}.

@endforelse
@endsection