@extends('customer.layouts.app') @section('title') Read Messages @endsection @section('css') @endsection @section('content')

Unread MESSAGE

    @foreach ($msgs as $msg) @if (($msg->sender_id != Auth::user()->id && $msg->msg_status == 'read') || $msg->sender_id == Auth::user()->id)
  • {{ $msg->user->first_name . ' ' . $msg->user->last_name }}
    {{ $msg->created_at->format('d-m-Y, H:m') }}
  • @endif @endforeach

{!! Form::open([ 'enctype' => 'multipart/form-data', 'id' => 'msg-form', 'route' => 'message-reply.store', 'method' => 'POST', ]) !!}
{!! Form::close() !!}
@endsection @section('js') @endsection