1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Minor fixes for check dta

This commit is contained in:
David Bomba 2021-07-07 08:11:44 +10:00
parent 17fe35be04
commit 5204c9518a

View File

@ -365,7 +365,7 @@ class CheckData extends Command
/* Due to accounting differences we need to perform a second loop here to ensure there actually is an issue */
$clients->each(function ($client_record) use ($credit_total_applied) {
$client = Client::find($client_record->id);
$client = Client::withTrashed()->find($client_record->id);
$total_invoice_payments = 0;