1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Minor fix for null client balancE

This commit is contained in:
David Bomba 2020-06-30 09:02:18 +10:00
parent 1f1acaa500
commit d7f5657dda

View File

@ -160,7 +160,7 @@ trait GenerateMigrationResources
'company_id' => $client->account_id,
'user_id' => $client->user_id,
'name' => $client->name,
'balance' => $client->balance,
'balance' => $client->balance ?: 0,
'paid_to_date' => $client->paid_to_date,
'address1' => $client->address1,
'address2' => $client->address2,