mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +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,
|
'city' => $client->city,
|
||||||
'state' => $client->state,
|
'state' => $client->state,
|
||||||
'postal_code' => $client->postal_code,
|
'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,
|
'phone' => $client->work_phone,
|
||||||
'private_notes' => $client->private_notes,
|
'private_notes' => $client->private_notes,
|
||||||
'website' => $client->website,
|
'website' => $client->website,
|
||||||
|
Loading…
Reference in New Issue
Block a user