@vite('resources/css/tailwind.css') @vite('resources/css/custom.css')
@php $jsGateway = []; $submitGateway = []; @endphp @if (!blank($paymentGateways)) @foreach ($paymentGateways as $paymentGateway) @if ($paymentGateway->misc != null) @if (!blank(json_decode($paymentGateway->misc))) @if (!blank(json_decode($paymentGateway->misc)->js)) @foreach (json_decode($paymentGateway->misc)->js as $js) @include('paymentGateways.' . str_replace('.blade.php', '', $js)) @endforeach @endif @if (!blank(json_decode($paymentGateway->misc)->input)) @if (isset(json_decode($paymentGateway->misc)->input[0])) @php $jsGateway[$paymentGateway->slug] = isset(json_decode($paymentGateway->misc)->input[0]); @endphp @endif @endif @if (!blank(json_decode($paymentGateway->misc)->submit)) @if (isset(json_decode($paymentGateway->misc)->submit) && json_decode($paymentGateway->misc)->submit) @php $submitGateway[$paymentGateway->slug] = json_decode($paymentGateway->misc)->submit; @endphp @endif @endif @endif @endif @endforeach @endif @php $jsGateway = json_encode($jsGateway); $submitGateway = json_encode($submitGateway); @endphp