From 30e0ca1b5fb5cdfa08ad3968eb4558de7c424e61 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Wed, 23 Apr 2025 11:46:52 +0500 Subject: [PATCH] wip --- app/Nova/Actions/CheckOnlinePaymentStatus.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Nova/Actions/CheckOnlinePaymentStatus.php b/app/Nova/Actions/CheckOnlinePaymentStatus.php index 61ecfab..68e86fa 100644 --- a/app/Nova/Actions/CheckOnlinePaymentStatus.php +++ b/app/Nova/Actions/CheckOnlinePaymentStatus.php @@ -40,6 +40,7 @@ class CheckOnlinePaymentStatus extends Action $onlinePaymentResource = OnlinePaymentHistory::query() ->where('online_paymantable_type', $this->paymantable_type) ->where('online_paymantable_id', $item->id) + ->latest() ->first(); if (! $onlinePaymentResource) {