@extends('layouts.app') @section('content')

{{ __('Payment Gateways') }}

@foreach ($paymentGateways as $paymentGateway) @php $configs = json_decode($paymentGateway->config); @endphp

{{ strtoupper($paymentGateway->name) }}

{{ $paymentGateway->is_active ? 'On' : 'Off' }} @hasPermission('admin.paymentGateway.toggle') @endhasPermission
@csrf
@foreach ($configs as $key => $value) @php $label = ucwords(str_replace('_', ' ', $key)); @endphp
@endforeach
@hasPermission('admin.paymentGateway.update')
@endhasPermission
@endforeach
@endsection @push('scripts') @endpush