@extends('layouts.master') @section('title') messages @endsection @section('css') @endsection @section('content')

#{{ $conversation->id }} - {{ $conversation->subject }}

{{-- --}}

{{ $conversation->from }} @if($conversation->user) [{{$conversation->user->username}}] @endif

@if($conversation->user)
User : {{ $conversation->user->firstname }} {{ $conversation->user->lastname }}
@endif
Date Created : {{ $conversation->created_at->format('d M, Y') }}
{!! $conversation->status_badge !!}
@if($conversation->replies->isNotEmpty())

Reply Thread

@foreach($conversation->replies as $reply)
Reply ({{ $reply->created_at }})
{!! $reply->body !!}
@endforeach
@endif
@csrf
{{--
Ticket Details
--}}
Ticket #{{ $conversation->id }}
From {{ $conversation->from }} @if(empty($conversation->user_id)) @endif
Status:
@csrf @method('PATCH')
Date Created {{ $conversation->created_at->format('d M, Y') }}
@endsection @section('script') {{-- --}} {{-- --}} @endsection