mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for pre payments
This commit is contained in:
parent
1dd0276bd6
commit
0f393c5691
@ -7,7 +7,7 @@
|
|||||||
</style>
|
</style>
|
||||||
@endpush
|
@endpush
|
||||||
@section('body')
|
@section('body')
|
||||||
<form action="{{ route('client.pre_payments.process') }}" method="post" id="payment-form" onkeypress="return event.keyCode != 13;">
|
<form action="{{ route('client.pre_payments.process') }}" method="post" id="payment-form" x-ref="paymentform">
|
||||||
@csrf
|
@csrf
|
||||||
<input type="hidden" name="company_gateway_id" id="company_gateway_id">
|
<input type="hidden" name="company_gateway_id" id="company_gateway_id">
|
||||||
<input type="hidden" name="payment_method_id" id="payment_method_id">
|
<input type="hidden" name="payment_method_id" id="payment_method_id">
|
||||||
@ -94,7 +94,12 @@
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6" x-data="{ buttonDisabled: false }">
|
<div class="px-4 py-3 bg-gray-50 text-right sm:px-6" x-data="{ buttonDisabled: false }">
|
||||||
<button class="button button-primary bg-primary"x-on:click="buttonDisabled = true" x-bind:disabled="buttonDisabled">{{ ctrans('texts.pay_now') }}</button>
|
<button type="button"
|
||||||
|
class="button button-primary bg-primary"
|
||||||
|
x-on:click="buttonDisabled = true"
|
||||||
|
x-bind:disabled="buttonDisabled"
|
||||||
|
@click="$refs.paymentform.submit()"
|
||||||
|
>{{ ctrans('texts.pay_now') }}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user