@extends('admin.layouts.master') @php $active_payment_methods = $config->paymentMethods->pluck('id')->toArray(); @endphp @section('content')

{{ trans('app.payment_methods') }}

@foreach ($payment_method_types as $type_id => $type) @php $payment_providers = $payment_methods->where('type', $type_id); $logo_path = sys_image_path('payment-method-types') . "{$type_id}.svg"; @endphp @if ($payment_providers->count())
@if (File::exists($logo_path)) {{ $type }} @else

{{ $type }}

@endif

{!! get_payment_method_type($type_id)['description'] !!}

@foreach ($payment_providers as $payment_provider) @continue($payment_provider->code == 'zcart-wallet') @php $logo_path = sys_image_path('payment-methods') . "{$payment_provider->code}.png"; @endphp @endforeach
@unless($loop->last)
@endunless @endif @endforeach
@endsection