@inject('gatewayControls', 'App\Http\Controllers\Finance\GatewayController') @php $activeGateways = \App\Models\Gateways::where('is_active', 1)->get(); $type = strpos(Route::currentRouteName(), 'startPrepaidPaymentProcess') !== false ? 'startPrepaidPaymentProcess' : 'startSubscriptionProcess'; @endphp @if ($activeGateways->count() > 1)
@foreach ($activeGateways as $gateway) @php($data = $gatewayControls->gatewayData($gateway->code))
@if ($data['whiteLogo'] == 1) {{ $data['title'] }} @else {{ $data['title'] }} @endif
{{ $data['title'] }}
@endforeach
@endif