From 4bb788f9198c7267833ab65a1cdff0a58fcac782 Mon Sep 17 00:00:00 2001 From: Afiq Hamzah Date: Fri, 13 Sep 2024 16:55:42 +0800 Subject: [PATCH] Fix bayaran history data not displaying in popup --- app/Services/BayaranHistoryService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/BayaranHistoryService.php b/app/Services/BayaranHistoryService.php index 03a3cf2..7dddd15 100644 --- a/app/Services/BayaranHistoryService.php +++ b/app/Services/BayaranHistoryService.php @@ -16,7 +16,7 @@ class BayaranHistoryService public function getBayaranHistory() { - $bayaranHistory = Http::arrahn()->get('/api/transaction/online/query', ['date' => $this->norujukan])->json(); + $bayaranHistory = Http::arrahn()->get('/api/transaction/'. $this->norujukan)->json(); $formatBayaranHistoryData = function ($x) { if (sizeof($x) === 0) {