From 55ab915529d5d417544ef45b1b3c39a9a7923200 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 18 Sep 2022 10:03:03 +1000 Subject: [PATCH] Ensure we do not remove gateway feed prematurely --- app/Http/Controllers/ClientPortal/InvoiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ClientPortal/InvoiceController.php b/app/Http/Controllers/ClientPortal/InvoiceController.php index 4caecece5cdf..4b835e8ef48c 100644 --- a/app/Http/Controllers/ClientPortal/InvoiceController.php +++ b/app/Http/Controllers/ClientPortal/InvoiceController.php @@ -56,7 +56,7 @@ class InvoiceController extends Controller { set_time_limit(0); - $invoice->service()->removeUnpaidGatewayFees()->save(); + // $invoice->service()->removeUnpaidGatewayFees()->save(); $invitation = $invoice->invitations()->where('client_contact_id', auth()->guard('contact')->user()->id)->first();