wip
This commit is contained in:
@@ -40,6 +40,7 @@ class CheckOnlinePaymentStatus extends Action
|
|||||||
$onlinePaymentResource = OnlinePaymentHistory::query()
|
$onlinePaymentResource = OnlinePaymentHistory::query()
|
||||||
->where('online_paymantable_type', $this->paymantable_type)
|
->where('online_paymantable_type', $this->paymantable_type)
|
||||||
->where('online_paymantable_id', $item->id)
|
->where('online_paymantable_id', $item->id)
|
||||||
|
->latest()
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
if (! $onlinePaymentResource) {
|
if (! $onlinePaymentResource) {
|
||||||
|
|||||||
Reference in New Issue
Block a user