@extends('adminLayout::index')
@section('pageContent')
{{ __('admin/chats.index_desc') }}
{{ __('table.labels.name') }}
{{ __('table.labels.type') }}
{{ __('table.labels.participants') }}
{{ __('table.labels.messages') }}
{{ __('table.labels.last_activity') }}
#ID
{{ __('labels.table.actions') }}
@if($chats->isNotEmpty())
@foreach ($chats as $chatData)
@include('admin::chats.index.parts.chat-item', [
'chatData' => $chatData
])
@endforeach
@else
@endif
@unless($chats->isEmpty())
{{ $chats->onEachSide(1)->withQueryString()->links('pagination.index') }}
@endunless
@endsection