@foreach($ticket->answers AS $answer)
@if($loop->last)
@if($answer->user->hasRole('user|client'))
{{ $answer->user->username }} - {{ $answer->created_at->format(config('app.date_time_format')) }}
{!! $answer->message !!}
https://store.goldsvet.org/backend/support/{{ $ticket->id }}
This email was sent from a notification-only address that cannot accept incoming email. Please do not reply to this message.
@else
AGENT #{{ $ticket->temp_id }} - {{ $answer->created_at->format(config('app.date_time_format')) }}
{!! $answer->message !!}
https://store.goldsvet.org/support/{{ $ticket->id }}
This email was sent from a notification-only address that cannot accept incoming email. Please do not reply to this message.
@endif
@endif
@endforeach