bug fix when the notifcation appear but can't accept it directly

This commit is contained in:
Hafifie PKB
2025-04-06 16:04:21 +08:00
parent 2c8a44eaab
commit 6509739737
2 changed files with 16 additions and 4 deletions
@@ -91,7 +91,12 @@ class AutoSerahanController extends Controller
$currentPage = $response['current_page'] ?? 1; // Current page
$items = array_map(function ($item) {
$time_created = Carbon::parse($item['created_at']);
$item['cawangan_name'] = $this->CawanganKod($item['kodcaw']);
$item['tarikh'] = $time_created->toDateString();
$item['masa'] = $time_created->format('h:i A');
return $item;
}, $items);