card component select card future

This commit is contained in:
Cihan Şentürk
2021-01-17 23:55:27 +03:00
parent d011b8ea47
commit 33c1704542
4 changed files with 52 additions and 23 deletions

View File

@@ -66,16 +66,9 @@
<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">
<component v-bind:is="method_show_html" @interface="onRedirectConfirm"></component>
</div>
@stack('invoice_{{ $key }}_content_end')
@php $is_active = false; @endphp
@endforeach
<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>
</div>
</div>
</div>