From 7184f0bcdc99d8f4a36ca0d451b1f7d46b4e091a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 7 Apr 2021 07:52:49 +1000 Subject: [PATCH] migrate client task rate --- app/Traits/GenerateMigrationResources.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Traits/GenerateMigrationResources.php b/app/Traits/GenerateMigrationResources.php index b1fa52bb6596..d8b04988b27a 100644 --- a/app/Traits/GenerateMigrationResources.php +++ b/app/Traits/GenerateMigrationResources.php @@ -421,7 +421,7 @@ info("get company"); $credits = []; $export_credits = Invoice::where('account_id', $this->account->id) - ->where('amount', '<', '0') + ->where('balance', '<', '0') ->where('invoice_type_id', '=', INVOICE_TYPE_STANDARD) ->where('is_public', true) ->withTrashed()