{{ $discussion->title }}

@lang('modules.tickets.requestedOn') {{ $discussion->created_at->timezone(company()->timezone)->translatedFormat(company()->date_format . ' ' . company()->time_format) }}

@if ($discussion->category) @endif

@foreach ($discussion->replies as $key => $message) @php $replyUser = $message->user; @endphp {{-- clients.show --}}
{{ $replyUser->name }}

{{ $replyUser->name }}

{{ $message->created_at->timezone(company()->timezone)->translatedFormat(company()->date_format . ' ' . company()->time_format) }}

@php $isClient = \App\Models\User::isClient($replyUser->id); $client = \App\Models\User::where('id', $message->added_by)->first(); @endphp @if(($isClient == true) && ($message->added_by != $replyUser->id) && $client)
{{ __('(Added By : ') . $client->name . ')' }}

@endif
{!! $message->body !!}
@if ($discussion->best_answer_id == $message->id) @lang('modules.discussions.bestReply') @endif
@foreach ($message->files as $file) @endforeach
@endforeach @php $discussionId = $discussion->id; @endphp
@lang('app.reply')