From a0d2154967579b00503c974c913408b17bfc5e29 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 12 Oct 2024 09:23:48 +1100 Subject: [PATCH] Minor fixes --- app/PaymentDrivers/BaseDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/BaseDriver.php b/app/PaymentDrivers/BaseDriver.php index 61617e6f76..7a1f9b0d38 100644 --- a/app/PaymentDrivers/BaseDriver.php +++ b/app/PaymentDrivers/BaseDriver.php @@ -404,7 +404,7 @@ public function confirmGatewayFee($data = []): void $item->gross_line_total = round($item->gross_line_total, 2); return $item; }) - ->whereIn('type_id', ['3']) + ->whereIn('type_id', ['3','4']) ->count(); if($invoice && $fee_count == 0){