mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:34:39 -04:00
Allow BECS to show only for clients in Australia
This commit is contained in:
parent
a24c705ffc
commit
461e0059bd
@ -208,7 +208,7 @@ class StripePaymentDriver extends BaseDriver
|
|||||||
&& $this->client->currency()
|
&& $this->client->currency()
|
||||||
&& ($this->client->currency()->code == 'AUD')
|
&& ($this->client->currency()->code == 'AUD')
|
||||||
&& isset($this->client->country)
|
&& isset($this->client->country)
|
||||||
&& in_array($this->client->country->iso_3166_3, ["AUS", "DEU"]))
|
&& in_array($this->client->country->iso_3166_3, ['AUS']))
|
||||||
$types[] = GatewayType::BECS;
|
$types[] = GatewayType::BECS;
|
||||||
|
|
||||||
if ($this->client
|
if ($this->client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user