bug fix when the notifcation appear but can't accept it directly
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user