1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 12:42:36 +01:00

Fixes for braintree

This commit is contained in:
David Bomba 2023-10-03 08:36:10 +11:00
parent cd11889044
commit 7b8529ca95
4 changed files with 7 additions and 7 deletions

View File

@ -36,10 +36,6 @@ return [
* the built in metrics.
*/
'system_logging' => [
'Turbo124\Beacon\Jobs\System\CpuMetric',
'Turbo124\Beacon\Jobs\System\HdMetric',
'Turbo124\Beacon\Jobs\System\MemMetric',
App\Jobs\Ninja\CheckDbStatus::class,
],
];

View File

@ -92,5 +92,7 @@
@section('gateway_footer')
<script src="https://js.braintreegateway.com/web/3.81.0/js/client.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.81.0/js/us-bank-account.min.js"></script>
@vite('resources/js/clients/payment_methods/braintree-ach.js')
<script defer src="{{ asset('js/clients/payment_methods/braintree-ach.js') }}"></script>
@endsection

View File

@ -43,7 +43,7 @@
@endsection
@push('footer')
<script>
<script defer>
Array
.from(document.getElementsByClassName('toggle-payment-with-token'))
.forEach((element) => element.addEventListener('click', (element) => {

View File

@ -75,7 +75,9 @@
@endsection
@section('gateway_footer')
@vite('resources/js/clients/payments/braintree-credit-card.js')
<script defer src="{{ asset('js/clients/payments/braintree-credit-card.js') }}"></script>
@endsection
<div id="threeds"></div>