@extends('layouts.admin', ['heading' => 'Payment Gateways', 'subheading' => 'Configure and enable gateways']) @section('content')
| Gateway | Status | Config | Actions |
|---|---|---|---|
|
{{ $gateway->name }}
{{ $gateway->code }}
|
{{ $gateway->is_enabled ? 'Enabled' : 'Disabled' }} | @php $config = is_array($gateway->config_json ?? null) ? $gateway->config_json : (is_array($gateway->config ?? null) ? $gateway->config : []); @endphp |