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:
parent
b20a3bfc88
commit
0feba07ae5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user