@extends('layouts.app') @section('title') {{ __('messages_301.User profile') }} @endsection @section('style') @endsection @section('content')
@include('inc.breadcrumb', [ 'breadcrumb_items' => [ __('messages.Home') => route('home'), __('messages_301.Users') => null, __('messages_301.Doctors') => route('admin.users.doctors.index'), __('messages_301.User profile') => route('admin.users.doctors.show', $data->id), __('messages_301.Chats') => 'active', ], ])
@include('admin.doctors.includes.profile_info')
{{ __('messages_301.Chats') }}

{{ count($chats) }}

@php $i = 1; $skipCount = $chats->perPage() * $chats->currentPage() - $chats->perPage(); @endphp @include('inc.is_empty_data', [ 'var_check_empty' => $chats, 'var_check_empty_rows' => 4, ]) @if (count($chats)) @foreach ($chats as $chat)

{!! $chat->last_message->message !!}

@endforeach
{{ $chats->appends(Request::except(['_token']))->links() }}
@endif
@endsection @section('script') @endsection