Fixed portal payment method path

This commit is contained in:
Cüneyt Şentürk
2021-01-19 12:52:57 +03:00
parent 7837f1d1a1
commit 6d92e045a3
4 changed files with 19 additions and 12 deletions

View File

@ -60,7 +60,7 @@
<div class="card-body">
<div class="tab-content" id="myTabContent">
@php $is_active = true; @endphp
@foreach ($payment_methods as $key => $name)
@stack('invoice_{{ $key }}_content_start')
<div class="tab-pane fade{{ ($is_active) ? ' show active': '' }}" id="tabs-payment-method-{{ $key }}" role="tabpanel" aria-labelledby="tabs-payment-method-{{ $key }}-tab">

View File

@ -66,9 +66,16 @@
<div class="card-body">
<div class="tab-content" id="myTabContent">
@php $is_active = true; @endphp
<div class="tab-pane fade{{ ($is_active) ? ' show active': '' }}" id="tabs-payment-method" role="tabpanel" aria-labelledby="tabs-payment-method">
<component v-bind:is="method_show_html" @interface="onRedirectConfirm"></component>
</div>
@foreach ($payment_methods as $key => $name)
@stack('invoice_{{ $key }}_content_start')
<div class="tab-pane fade{{ ($is_active) ? ' show active': '' }}" id="tabs-payment-method-{{ $key }}" role="tabpanel" aria-labelledby="tabs-payment-method-{{ $key }}-tab">
<component v-bind:is="method_show_html" @interface="onRedirectConfirm"></component>
</div>
@stack('invoice_{{ $key }}_content_end')
@php $is_active = false; @endphp
@endforeach
</div>
</div>
</div>