@extends('seller.layouts.app') @section('panel_content')
@if (Auth::user()->id == $conversation->sender_id)
{{ $conversation->receiver->name }}
@else
{{ $conversation->sender->name }}
@endif
{{ date('h:i:m d-m-Y', strtotime($conversation->messages->last()->created_at)) }}
{{ $conversation->messages->last()->message }}