{{-- Integration section partial for the Integrations tab. @param string $id - Unique identifier (google, stripe, etc.) @param string $title - Display title @param string $enabled_key - SystemSetting key for the enabled toggle @param array $fields - Array of field definitions [name, label, type, placeholder] @param string $help - Help text (HTML allowed) --}} @php use App\Models\SystemSetting; $isEnabled = SystemSetting::enabled($enabled_key ?? '', false); @endphp

{{ $title }}

@foreach($fields as $field)
@if(($field['type'] ?? 'text') === 'password') @php $hasValue = !empty(SystemSetting::get($field['name'])); @endphp @else @endif
@endforeach
@if(!empty($help))

{!! $help !!}

@endif