@extends('layouts.app') @section('title', 'Admin Settings') @section('content')
WhatsApp Configuration
@csrf
Your permanent access token from Meta Developer Console
@error('meta_access_token')
{{ $message }}
@enderror
Your WhatsApp Business Phone Number ID
@error('phone_number_id')
{{ $message }}
@enderror
Agent to assign new customers by default
@error('default_agent_id')
{{ $message }}
@enderror
@csrf
Templates ({{ $templates->count() }})
@if($templates->count() > 0)
@foreach($templates as $template)
{{ $template->name }}
{{ $template->language }} • {{ $template->category }}
Active
@endforeach
@else

No templates synced yet.

Click "Sync Templates" to import from WhatsApp.

@endif
Webhook URL
Use this URL in your Meta Developer Console webhook configuration.
@push('scripts') @endpush @endsection