mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-19 16:01:34 +02:00
Enforce client currency_id
This commit is contained in:
parent
8eb26085f0
commit
f69cfb0ffa
@ -125,6 +125,13 @@ class ImportCustomers
|
||||
$settings->currency_id = (string) $currency->id;
|
||||
$client->settings = $settings;
|
||||
}
|
||||
|
||||
}else {
|
||||
|
||||
$settings = $client->settings;
|
||||
$settings->currency_id = (string) $this->stripe->company_gateway->company->settings->currency_id;
|
||||
$client->settings = $settings;
|
||||
|
||||
}
|
||||
|
||||
$client->name = $customer->name ? $customer->name : $customer->email;
|
||||
|
Loading…
Reference in New Issue
Block a user