@extends('root') @section('title', 'WABA Platform Dashboard') @section('content')
@include('components.breadcrumb', [ 'title' => 'WABA Platform Dashboard', 'links' => [['url' => route('admin.dashboard'), 'label' => 'Dashboard']], 'current' => 'WABA Platform' ])
@foreach(['pool' => ['Pool (Shared)', 'blue'], 'managed' => ['Managed (Dedicated)', 'green'], 'oauth' => ['OAuth (Self Service)', 'purple']] as $mode => $info)
{{ $info[0] }}

{{ $wabaStats[$mode]['active'] ?? 0 }}

/ {{ $wabaStats[$mode]['total'] ?? 0 }} active
{{ number_format($wabaStats[$mode]['messages_today'] ?? 0) }} pesan hari ini
@endforeach
Token Health
Healthy {{ $tokenHealth['healthy'] }}
Expiring Soon {{ $tokenHealth['expiring_soon'] }}
Expired {{ $tokenHealth['expired'] }}
Recent Activity
View All
@forelse($recentActivity as $activity) @empty @endforelse
Action Client Status Time
{{ $activity->action }} {{ $activity->client?->name ?? 'System' }} @if($activity->status === 'success') Success @else Failed @endif {{ $activity->created_at->diffForHumans() }}
No recent activity
@endsection