@extends('master')
@section('content')
@if(Session::get('userRole') !== 'Patient')
@include('messages.new_message')
@endif
@if(count($chats))
@foreach($chats as $chat)
-
{{ Session::get('userRole') == 'Patient' ? 'Chat' : $chat->name }}
@endforeach
@else
There are no messages yet.
@endif
@endsection