@extends('admin.layouts.app') @section('panel')
@csrf
{{ __('Gateway Settings for') }} {{ isset($gateway->name) ? __($gateway->name) : __('Unknown Gateway') }}
@if(isset($supportedCurrencies) && is_array($supportedCurrencies) && count($supportedCurrencies) > 0)

{{ isset($gateway->name) ? __($gateway->name) : __('Unknown Gateway') }}

@endif

{{ isset($gateway->description) ? __($gateway->description) : '' }}

@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)

{{ isset($gateway->name) ? __($gateway->name) : '' }} - {{ isset($gatewayCurrency->currency) ? __($gatewayCurrency->currency) : '' }}

{{ isset($general->cur_text) ? __($general->cur_text) : '' }}
{{ isset($general->cur_text) ? __($general->cur_text) : '' }}
{{ isset($general->cur_text) ? __($general->cur_text) : '' }}
%
1 {{ isset($general->cur_text) ? __($general->cur_text) : '' }} =
{{ isset($gatewayCurrency) && method_exists($gatewayCurrency, 'baseSymbol') ? __($gatewayCurrency->baseSymbol()) : '' }}
@if(isset($parameters) && $parameters->where('global', false)->count() > 0) @php $globalParameters = isset($gatewayCurrency->gateway_parameter) ? json_decode($gatewayCurrency->gateway_parameter, true) : []; @endphp
{{ __('Configuration') }}
@foreach($parameters->where('global', false) as $key => $param)
@endforeach
@endif
@php $currencyIndex++; @endphp @endforeach @endif
{{ __('Currency Configuration') }}

{{ __('Name') }}

{{ isset($general->cur_text) ? __($general->cur_text) : '' }}
{{ isset($general->cur_text) ? __($general->cur_text) : '' }}
{{ isset($general->cur_text) ? __($general->cur_text) : '' }}
%
1   {{ isset($general->cur_text) ? __($general->cur_text) : '' }}  =
@if(isset($parameters) && $parameters->where('global', false)->count() > 0)
@foreach($parameters->where('global', false) as $key => $param)
@endforeach
@endif
@endsection @push('breadcrumb-plugins') @lang('Back') @endpush @push('script') @endpush