mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Remove locale check
This commit is contained in:
parent
a7d03c23ec
commit
484e6923d4
@ -2,6 +2,8 @@
|
|||||||
ctrans('texts.credit_card')])
|
ctrans('texts.credit_card')])
|
||||||
|
|
||||||
@section('gateway_head')
|
@section('gateway_head')
|
||||||
|
@dd($contact->preferredLocale())
|
||||||
|
|
||||||
<meta name="mollie-testmode" content="{{ $gateway->company_gateway->getConfigField('testMode') }}">
|
<meta name="mollie-testmode" content="{{ $gateway->company_gateway->getConfigField('testMode') }}">
|
||||||
<meta name="mollie-publicId" content="{{ $gateway->company_gateway->getConfigField('publicId') }}">
|
<meta name="mollie-publicId" content="{{ $gateway->company_gateway->getConfigField('publicId') }}">
|
||||||
|
|
||||||
@ -91,9 +93,8 @@ ctrans('texts.credit_card')])
|
|||||||
<script>
|
<script>
|
||||||
class _Mollie {
|
class _Mollie {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.mollie = Mollie('pfl_sFDNzkEdyw', {
|
this.mollie = Mollie(document.querySelector('meta[name=mollie-publicId]')?.content, {
|
||||||
testmode: true,
|
testmode: document.querySelector('meta[name=mollie-testmode]')?.content,
|
||||||
locale: 'en_US',
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user