Zgłoszenie #{{ $ticket->number }}
{{ $ticket->subject }}
{{ $ticket->body }}
@foreach ($firstMessage?->attachments ?? [] as $a)
@foreach ($ticket->customFieldEntries() as $cf)
@endif
{{ $cf['label'] }}: {{ $cf['value'] }}
@endforeach
@foreach ($threadMessages as $m)
@php $mine = $m->role === 'client' && $m->author_id === auth()->id(); @endphp
@if ($editingMessageId === $m->id)
@else
@endforeach
@endforeach
{{ $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
{{ $m->body }}
@endif
@foreach ($m->attachments as $a)