← Wróć do listy
@php $firstMessage = $this->ticketMessages->first(); $threadMessages = $this->ticketMessages->skip(1); @endphp
Zgłoszenie #{{ $ticket->number }}

{{ $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 }}
Status i priorytet
{{ $ticket->priorityLabel() }} {{ $ticket->statusLabel() }}
@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->number }} — {{ $ot->subject }} {{ $ot->statusLabel() }} @empty

Brak innych zgłoszeń.

@endforelse
@if ($pendingDeleteMessageId)
Potwierdź usunięcie
Czy na pewno usunąć tę wiadomość?
@endif