mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 00:11:35 +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;
|
$settings->currency_id = (string) $currency->id;
|
||||||
$client->settings = $settings;
|
$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;
|
$client->name = $customer->name ? $customer->name : $customer->email;
|
||||||
|
Loading…
Reference in New Issue
Block a user