mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
fixes for checkout.com (#3336)
This commit is contained in:
parent
1ab5bc1f6b
commit
ac11681073
@ -12,7 +12,11 @@
|
|||||||
paymentToken: '{{ $transactionToken }}',
|
paymentToken: '{{ $transactionToken }}',
|
||||||
customerEmail: '{{ $contact->email }}',
|
customerEmail: '{{ $contact->email }}',
|
||||||
customerName: '{{ $contact->getFullName() }}',
|
customerName: '{{ $contact->getFullName() }}',
|
||||||
|
@if( $invoice->getCurrencyCode() == 'BHD' || $invoice->getCurrencyCode() == 'KWD' || $invoice->getCurrencyCode() == 'OMR')
|
||||||
|
value: {{ $invoice->getRequestedAmount() * 1000 }},
|
||||||
|
@else
|
||||||
value: {{ $invoice->getRequestedAmount() * 100 }},
|
value: {{ $invoice->getRequestedAmount() * 100 }},
|
||||||
|
@endif
|
||||||
currency: '{{ $invoice->getCurrencyCode() }}',
|
currency: '{{ $invoice->getCurrencyCode() }}',
|
||||||
widgetContainerSelector: '.payment-form',
|
widgetContainerSelector: '.payment-form',
|
||||||
widgetColor: '#333',
|
widgetColor: '#333',
|
||||||
|
Loading…
Reference in New Issue
Block a user