@if(isset($gateway->code) && $gateway->code < 1000 && isset($gateway->extra) && is_array($gateway->extra))
{{ __('Configurations') }}
@foreach($gateway->extra as $key => $param)
@endforeach
@endif
@if(isset($parameters) && is_object($parameters))
@foreach($parameters->where('global', true) as $key => $param)
@endforeach
@endif
@if(isset($gateway->currencies) && is_iterable($gateway->currencies))
@php $currencyIndex = isset($currencyIndex) ? $currencyIndex : 0; @endphp
@foreach($gateway->currencies as $gatewayCurrency)
@if(isset($parameters) && $parameters->where('global', false)->count() > 0)
@php
$globalParameters = isset($gatewayCurrency->gateway_parameter) ? json_decode($gatewayCurrency->gateway_parameter, true) : [];
@endphp
@foreach($parameters->where('global', false) as $key => $param)
@endforeach
@endif
@php $currencyIndex++; @endphp
@endforeach
@endif
@if(isset($parameters) && $parameters->where('global', false)->count() > 0)
@foreach($parameters->where('global', false) as $key => $param)
@endforeach
@endif