{{ $mail->mailOwner()->member_id }}
{{ $mail->created_at->format('H:i:s a') }} ({{ $mail->created_at->diffForHumans() }})
{{--
--}} {{-- --}} {{--
--}}

{{ $mail->subject }}

{!! $mail->content !!}
@if($mail->attachment_ids)
@foreach($mail->attachment_ids as $attachmentIds) @php $attachment = \App\Eloquents\Attachment::find($attachmentIds); @endphp uri") }}" target="_blank">{{ asset("storage/$attachment->uri") }} @endforeach
@endif
@foreach($mail->replies as $reply)
{{ $reply->mailOwner()->username }}
{{ $reply->created_at->format('H:i:s a') }} ({{ $reply->created_at->diffForHumans() }})
{{--
--}} {{-- --}} {{--
--}}

{{ $reply->subject }}

{!! $reply->content !!}
@endforeach
@php $allMessages = collect([$mail])->merge($mail->replies)->sortBy('created_at'); $lastMessage = $allMessages->last(); $lastSender = optional($lastMessage->transactions()->withTrashed()->where('role', 'sender')->latest()->first())->user; @endphp @if($lastSender && $lastSender->id !== loggedId()) {{ _t('mail.Reply') }} @endif {{-- --}} {{-- {{ _t('mail.Forward') }}--}} {{-- --}}

{{ $mail->mailOwner()->email }}

{{-- --}} {{-- --}} {{-- --}} {{--
--}} {{-- @foreach($mail->replies as $each)--}} {{-- --}} {{-- @endforeach--}} {{--
--}} {{--
--}}
{{ _t('mail.To') }}
{{--
--}} {{--
{{ _t('mail.Subject') }}
--}} {{-- --}} {{--
--}}
{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}