Minor fix for null client balancE
This commit is contained in:
parent
1f1acaa500
commit
d7f5657dda
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue