Portal invoice payment method fixed..

This commit is contained in:
Cüneyt Şentürk 2021-01-12 23:45:32 +03:00
parent 560ccac78c
commit 64dee4cfde
3 changed files with 12 additions and 4 deletions

View File

@ -59,7 +59,6 @@ const app = new Vue({
this.method_show_html = Vue.component('payment-method-confirm', function (resolve, reject) {
resolve({
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
},
created: function() {
this.form = new Form('redirect-form ');
},
data: function () {
return {
form: {},
formData: {
cardName: '',
cardNumber: '',
@ -142,7 +146,6 @@ const app = new Vue({
this.method_show_html = Vue.component('payment-method-confirm', function (resolve, reject) {
resolve({
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
},
created: function() {
this.form = new Form('redirect-form ');
},
data: function () {
return {
form: {},
formData: {
cardName: '',
cardNumber: '',

View File

@ -34,7 +34,7 @@
'novalidate' => 'true',
'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::close() !!}

View File

@ -40,7 +40,7 @@
'novalidate' => 'true',
'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::close() !!}