Portal invoice payment method fixed..
This commit is contained in:
parent
560ccac78c
commit
64dee4cfde
12
resources/assets/js/views/portal/invoices.js
vendored
12
resources/assets/js/views/portal/invoices.js
vendored
@ -59,7 +59,6 @@ const app = new Vue({
|
|||||||
this.method_show_html = Vue.component('payment-method-confirm', function (resolve, reject) {
|
this.method_show_html = Vue.component('payment-method-confirm', function (resolve, reject) {
|
||||||
resolve({
|
resolve({
|
||||||
template:'<div id="loading" class="description text-center"><i class="fa fa-spinner fa-spin fa-5x checkout-spin"></i></div>'
|
template:'<div id="loading" class="description text-center"><i class="fa fa-spinner fa-spin fa-5x checkout-spin"></i></div>'
|
||||||
|
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -84,8 +83,13 @@ const app = new Vue({
|
|||||||
CardForm
|
CardForm
|
||||||
},
|
},
|
||||||
|
|
||||||
|
created: function() {
|
||||||
|
this.form = new Form('redirect-form ');
|
||||||
|
},
|
||||||
|
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
|
form: {},
|
||||||
formData: {
|
formData: {
|
||||||
cardName: '',
|
cardName: '',
|
||||||
cardNumber: '',
|
cardNumber: '',
|
||||||
@ -142,7 +146,6 @@ const app = new Vue({
|
|||||||
this.method_show_html = Vue.component('payment-method-confirm', function (resolve, reject) {
|
this.method_show_html = Vue.component('payment-method-confirm', function (resolve, reject) {
|
||||||
resolve({
|
resolve({
|
||||||
template:'<div id="loading" class="description text-center"><i class="fa fa-spinner fa-spin fa-5x checkout-spin"></i></div>'
|
template:'<div id="loading" class="description text-center"><i class="fa fa-spinner fa-spin fa-5x checkout-spin"></i></div>'
|
||||||
|
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -163,8 +166,13 @@ const app = new Vue({
|
|||||||
CardForm
|
CardForm
|
||||||
},
|
},
|
||||||
|
|
||||||
|
created: function() {
|
||||||
|
this.form = new Form('redirect-form ');
|
||||||
|
},
|
||||||
|
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
|
form: {},
|
||||||
formData: {
|
formData: {
|
||||||
cardName: '',
|
cardName: '',
|
||||||
cardNumber: '',
|
cardNumber: '',
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
'novalidate' => 'true',
|
'novalidate' => 'true',
|
||||||
'class' => 'mb-0'
|
'class' => 'mb-0'
|
||||||
]) !!}
|
]) !!}
|
||||||
{{ Form::selectGroup('payment_method', '', 'money el-icon-money', $payment_methods, array_key_first($payment_methods) , ['change' => 'onChangePaymentMethod', 'id' => 'payment-method', 'class' => 'form-control d-none', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.payment_methods', 1)])], 'col-sm-12 d-none') }}
|
{{ Form::selectGroup('payment_method', '', 'money el-icon-money', $payment_methods, array_key_first($payment_methods), ['change' => 'onChangePaymentMethod', 'id' => 'payment-method', 'class' => 'form-control d-none', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.payment_methods', 1)])], 'col-sm-12 d-none') }}
|
||||||
{!! Form::hidden('document_id', $invoice->id, ['v-model' => 'form.document_id']) !!}
|
{!! Form::hidden('document_id', $invoice->id, ['v-model' => 'form.document_id']) !!}
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
'novalidate' => 'true',
|
'novalidate' => 'true',
|
||||||
'class' => 'mb-0'
|
'class' => 'mb-0'
|
||||||
]) !!}
|
]) !!}
|
||||||
{{ Form::selectGroup('payment_method', '', 'money el-icon-money', $payment_methods, array_key_first($payment_methods) , ['change' => 'onChangePaymentMethodSigned', 'id' => 'payment-method', 'class' => 'form-control d-none', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.payment_methods', 1)])], 'col-sm-12 d-none') }}
|
{{ Form::selectGroup('payment_method', '', 'money el-icon-money', $payment_methods, array_key_first($payment_methods), ['change' => 'onChangePaymentMethodSigned', 'id' => 'payment-method', 'class' => 'form-control d-none', 'placeholder' => trans('general.form.select.field', ['field' => trans_choice('general.payment_methods', 1)])], 'col-sm-12 d-none') }}
|
||||||
{!! Form::hidden('document_id', $invoice->id, ['v-model' => 'form.document_id']) !!}
|
{!! Form::hidden('document_id', $invoice->id, ['v-model' => 'form.document_id']) !!}
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user