@if (isset($folder))
  • {{ __('Chats') }} ({{ __('Exit') }})
  • @elseif (!empty($is_in_chat_mode)) {{-- Chats page --}}
  • {{ __('Chats') }} ({{ __('Exit') }})
  • @endif @php $chats = \App\Conversation::getChats($mailbox->id, $offset ?? 0); @endphp @foreach ($chats as $chat_i => $chat) @if ($chat_i < App\Conversation::CHATS_LIST_SIZE)
  • {{ $chat->customer->getFullName(true) }} {{ \App\User::dateDiffForHumans($chat->last_reply_at) }}
    {{ $chat->preview }}
    {{ $chat->getChannelName() }}@if (!$chat->user_id){{ __('Unassigned') }}@endif
  • @else
  • @endif @endforeach