@extends('layouts.app') @section('content')

Form Status Timeline

{{ $submittedForm->created_at->format('d M Y') }}
{{ $submittedForm->created_at->format('h:i A') }}

Form Submitted sent you an email

Submitted by: {{ $submittedForm->created_by ?? 'Unknown User' }}
@php // Track the date of the previous status log $previousDate = null; @endphp @if ($submittedForm->form_status->title === 'Verified' || $submittedForm->form_status->title === 'Rejected') @if ($previousDate !== now()->format('d M Y'))
{{ now()->format('d M Y') }}
@endif
{{ now()->format('h:i A') }}

{{ $submittedForm->form_status->title }} sent you an email

Status updated by: {{ auth()->user()->username }}
@endif
@endsection