@extends('layouts.admin') @section('content') ← Inbox

{{ $contact->topic?:'General inquiry' }}

{{ $contact->name }}

{{ $contact->email }} @if($contact->phone) · {{ $contact->phone }} @endif
{{ $contact->message }}

Reply

@csrf
@if($contact->replies->isNotEmpty())

Reply history

@foreach($contact->replies->sortByDesc('created_at') as $reply)
{{ str($reply->status)->headline() }} · {{ $reply->created_at->toDayDateTimeString() }}
{{ $reply->subject }}

{{ $reply->body }}

@endforeach @endif
@endsection