@extends('root') @section('title', 'Pengaturan Platform WABA') @section('content')
@include('components.breadcrumb', [ 'title' => 'Pengaturan Platform WABA', 'links' => [ ['url' => route('admin.dashboard'), 'label' => 'Dashboard'], ], 'current' => 'Pengaturan Platform' ]) @if (session('success')) @endif @if (session('error')) @endif
@csrf @method('PUT')
Menu Pengaturan
Aksi Cepat
Meta Developers
@foreach($groups as $groupKey => $groupInfo)
@if($groupKey === 'oauth') @include('pages.admin.waba-platform-settings._oauth-settings', ['settings' => $settings, 'groupKey' => $groupKey]) @elseif($groupKey === 'billing') @include('pages.admin.waba-platform-settings._billing-settings', ['settings' => $settings, 'groupKey' => $groupKey]) @elseif($groupKey === 'rate_limit') @include('pages.admin.waba-platform-settings._rate-limit-settings', ['settings' => $settings, 'groupKey' => $groupKey]) @else
{{ $groupInfo['title'] }}
{{ $groupInfo['description'] }}
@if(isset($settings[$groupKey])) @foreach($settings[$groupKey] as $setting) @include('pages.admin.waba-platform-settings._setting-field', ['groupKey' => $groupKey, 'setting' => $setting]) @endforeach @else
Belum ada pengaturan. Jalankan migration atau seeder.
@endif
@endif
@endforeach
Pengaturan akan langsung aktif setelah disimpan.
@endsection @push('scripts') @endpush @push('styles') @endpush