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

Enforce types and defaults for vendor currency and client country

This commit is contained in:
David Bomba 2023-03-14 07:44:01 +11:00
parent b20a3bfc88
commit 0feba07ae5

View File

@ -353,7 +353,7 @@ trait GenerateMigrationResources
'city' => $client->city,
'state' => $client->state,
'postal_code' => $client->postal_code,
'country_id' => $client->country_id,
'country_id' => $client->country_id ? (string) $client->country_id : (string) $this->account->country_id,
'phone' => $client->work_phone,
'private_notes' => $client->private_notes,
'website' => $client->website,