diff --git a/app/Traits/GenerateMigrationResources.php b/app/Traits/GenerateMigrationResources.php index 9f55022e60bb..1ec884f0009d 100644 --- a/app/Traits/GenerateMigrationResources.php +++ b/app/Traits/GenerateMigrationResources.php @@ -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,