From 5ecd4da153fd305c14876a6dcf8341f7970dc2b9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 6 Oct 2020 11:44:22 +1100 Subject: [PATCH] minor fix for recurring numbers --- app/Traits/GenerateMigrationResources.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Traits/GenerateMigrationResources.php b/app/Traits/GenerateMigrationResources.php index e9d0191d22..72fbb220f5 100644 --- a/app/Traits/GenerateMigrationResources.php +++ b/app/Traits/GenerateMigrationResources.php @@ -364,6 +364,7 @@ trait GenerateMigrationResources $export_invoices = Invoice::where('account_id', $this->account->id) ->where('amount', '>=', '0') ->where('invoice_type_id', '=', INVOICE_TYPE_STANDARD) + ->where('is_recurring', false) ->withTrashed() ->get();