@if($upsilist->status == 1)
@php
$createdAt = $upsilist->created_at;
$createdAt = Carbon\Carbon::parse($createdAt);
$created_time = $createdAt->format('H:i:s');
$created_date = $createdAt->toDateString();
$updatedAt = $upsilist->updated_at;
$updatedAt = Carbon\Carbon::parse($updatedAt);
$update_time = $updatedAt->format('H:i:s'); // Format: 24-hour time (e.g., 14:30:00)
$update_date = $updatedAt->toDateString(); // Format: YYYY-MM-DD
@endphp
Approved On:
Date: {{$upsilist->approved_date}}
Updated On:
Date: {{$update_date}}
Time: {{$update_time}}
@endif