1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Minor fixes for check data

This commit is contained in:
David Bomba 2022-10-14 21:19:41 +11:00
parent f622b3786a
commit 0bc64273dd

View File

@ -714,7 +714,15 @@ class CheckData extends Command
$over_payment = $over_payment*-1;
$this->logMessage("# {$client->id} # {$client->name} {$client->balance} is invalid should be {$over_payment}");
if(floatval($over_payment) == floatval($client->balance)){
}
else {
$this->logMessage("# {$client->id} # {$client->name} {$client->balance} is invalid should be {$over_payment}");
}
if($this->option('client_balance') && (floatval($over_payment) != floatval($client->balance) )){