@if($conversationId)
@php($previousDate = null)
@foreach($this->messages as $message)
@if ($previousDate !== $message->created_at->format('d.m.Y'))
@if($this->conversation->created_at->format('d.m.Y') === $message->created_at->format('d.m.Y'))
{{ __('Conversation started on :date', ['date' => $this->conversation->created_at->format('d/m/Y')]) }}
@elseif($message->created_at->format('d.m.Y') === now()->format('d.m.Y'))
{{ __('Today') }}
@else
{{ $message->created_at->format('d.m.Y') }}
@endif
@endif
@php($previousDate = $message->created_at->format('d.m.Y'))
@endforeach
{{--
Thank you! Let me know when it done.
We just reset your account. Please check your email for verification.
Please confirm if your got email
--}}
@livewire('chats.send-message-form', ['chatConversationId' => $conversationId], key('send-message-form-' . $conversationId))
{{--
IH
Iliash Hossain
Active 35m ago
--}}
@else
Aucun message trouvé
Commencez une nouvelle conversation.
@endif