← Wróć do listy {{-- Live updates arrive via broadcasting, but websocket connections can drop silently — this is a periodic fallback refresh, with a visible countdown so it's clear the thread is still refreshing on its own. Also clickable, to fetch immediately and reset the countdown. --}} @php $refreshTicketSeconds = max(1, (int) \App\Support\Settings::get('refresh_ticket_view_seconds')); @endphp
schedule
@php $firstMessage = $this->ticketMessages->first(); $threadMessages = $this->ticketMessages->skip(1); @endphp
Zgłoszenie {{ $ticket->displayNumber() }}

{{ $ticket->subject }}

{{ $ticket->categoryLabel() }} · utworzono {{ \App\Support\Rel::format($ticket->created_at) }}
{{ $ticket->body }}
@foreach ($firstMessage?->attachments ?? [] as $a) @endforeach @if (count($ticket->customFieldEntries()))
@foreach ($ticket->customFieldEntries() as $cf)
{{ $cf['label'] }}: {{ $cf['value'] }}
@endforeach
@endif
@foreach ($threadMessages as $m) @php $mine = $m->role === 'client' && $m->author_id === auth()->id(); @endphp
{{ $m->author_name }} · {{ \App\Support\Rel::format($m->created_at) }}{{ $m->edited ? ' · edytowano' : '' }}
@if ($m->role === 'client' && $m->author_id === auth()->id())
edit delete
@endif
@if ($editingMessageId === $m->id)
@else
{{ $m->body }}
@endif @foreach ($m->attachments as $a) @endforeach
@endforeach
@error('reply') {{ $message }} @enderror
@forelse ($attachments as $i => $file) attach_file {{ $file->getClientOriginalName() }} close @empty Brak załączników @endforelse
@error('attachments') {{ $message }} @enderror
Twoje dane
{{ auth()->user()->name }}
{{ auth()->user()->email }}
@if ($ticket->snipeit_asset_name)
Powiązany sprzęt
devices {{ $ticket->snipeit_asset_name }}
@endif
Status i priorytet
{{ $ticket->priorityLabel() }} {{ $ticket->statusLabel() }}
Przypisany operator: {{ $ticket->assignee?->name ?? 'Nieprzypisane' }}
Zespół: {{ $ticket->team?->name ?? 'Brak' }}
@if (! $ticket->isClosed()) @elseif ($ticket->isClosed()) @endif
Ocena obsługi
@if ($ticket->hasCsatRating())
@for ($i = 1; $i <= 5; $i++) star @endfor
@if ($ticket->csat_comment)

{{ $ticket->csat_comment }}

@endif @elseif ($ticket->csatSubmittable())
@for ($i = 1; $i <= 5; $i++) star @endfor
@error('csatRating') {{ $message }} @enderror @else

Ocena będzie dostępna po zamknięciu zgłoszenia.

@endif
Historia zmian
@forelse ($ticket->histories as $h)
{{ $h->text }}
{{ \App\Support\Rel::format($h->created_at) }}
@empty

Brak historii zmian.

@endforelse
Inne Twoje zgłoszenia
@forelse ($this->otherTickets as $ot) {{ $ot->displayNumber() }} — {{ $ot->subject }} {{ $ot->statusLabel() }} @empty

Brak innych zgłoszeń.

@endforelse @if (! $showAllOtherTickets && $this->otherTicketsCount > count($this->otherTickets)) @endif
@if ($pendingDeleteMessageId)
Potwierdź usunięcie
Czy na pewno usunąć tę wiadomość?
@endif @script @endscript