From 4140051877beb9c8b59a998d5ce9ac93faff8ff9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 19 Nov 2020 16:16:47 +1100 Subject: [PATCH] fixes for check data --- app/Console/Commands/CheckData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index 85203e305986..bb2cf5ca6c25 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -389,7 +389,7 @@ class CheckData extends Command if ($ledger && (string) $invoice_balance != (string) $client->balance) { $wrong_paid_to_dates++; - $this->logMessage($client->present()->name.' - '.$client->id." - client paid to dates do not match {$invoice_balance} - ".rtrim($client->balance, '0')); + $this->logMessage($client->present()->name.' - '.$client->id." - calculated client balances do not match {$invoice_balance} - ".rtrim($client->balance, '0')); $this->isValid = false; }