From fef994b99ecea07d5aac0c385b4bdd4d9ef4cdab Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 23 May 2021 09:09:57 +0300 Subject: [PATCH] Adjust check data order --- app/Console/Commands/CheckData.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index 4a20d1f23a21..368aa5c22201 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -75,6 +75,8 @@ class CheckData extends Command config(['database.default' => $database]); } + $this->checkContacts(); + if (! $this->option('client_id')) { $this->checkBlankInvoiceHistory(); $this->checkPaidToDate(); @@ -84,7 +86,6 @@ class CheckData extends Command //$this->checkInvoices(); $this->checkInvoiceBalances(); $this->checkClientBalances(); - $this->checkContacts(); $this->checkUserAccounts(); //$this->checkLogoFiles();