@extends('layout.app') @section('title', 'Pengaturan WhatsApp Gateway - Sistem Manajemen ISP') @section('content')
@if(session('success')) @endif @if(session('error')) @endif
@csrf
Konfigurasi Gateway
@error('provider'){{ $message }}@enderror
key Kredensial API
Terakhir disimpan: {{ $settings['last_updated_at'] ?? '-' }}
@error('api_url'){{ $message }}@enderror
@error('phone_number_id'){{ $message }}@enderror
@error('access_token'){{ $message }}@enderror
@error('webhook_url'){{ $message }}@enderror
chat Automasi & Batasan
signal_cellular_alt Status Gateway
Status Konfigurasi @if($connectionReady) Siap Digunakan @else Belum Lengkap @endif
  • Endpoint {{ \Illuminate\Support\Str::limit($settings['api_url'] ?? '-', 24) }}
  • Phone Number ID {{ $settings['phone_number_id'] ?: '-' }}
  • Webhook {{ $settings['webhook_url'] ? 'Aktif' : 'Belum diatur' }}
send Kirim Pesan Uji
@csrf
pie_chart Statistik WhatsApp
Total
{{ $stats['total'] }}
Berhasil
{{ $stats['success'] }}
Gagal
{{ $stats['failed'] }}
Pending
{{ $stats['pending'] }}

Success Rate

{{ $stats['success_rate'] }}%

Terakhir kirim: {{ $stats['last_sent_at'] }}

@endsection @section('scripts') @endsection