@extends('layouts.admin') @section('title', setting('school_name', 'ShulePoint') . ' | WhatsApp Chatbot') @section('page-title', 'WhatsApp Chatbot') @section('content') {{-- Connection: this school's own WhatsApp Business number --}}
| Command | Description | Status | Actions |
|---|---|---|---|
{{ $c->command }} |
{{ $c->description ?? '—' }} | {!! $c->enabled ? 'On' : 'Off' !!} | |
| No commands yet. | |||
Guardians type these exactly (leading / optional). The six built-ins fetch live data; free text goes to the AI layer, which may only pick one of these vetted commands — never raw data access.
| Date | Event | Public | Actions |
|---|---|---|---|
| {{ $e->event_date->format('d/m/Y') }} | {{ $e->title }}@if($e->location) {{ $e->location }}@endif |
{!! $e->is_public ? 'Yes' : 'No' !!} | |
| No events yet — add PTA days, sports, closing dates. | |||
| Learner | Verified | ||
|---|---|---|---|
| {{ $l->learner->full_name ?? ('#'.$l->learner_id) }} {{ $l->learner->admission_no ?? '' }} · {{ ucfirst($l->relationship) }} |
{{ \App\Support\PhoneNumbers::mask($l->phone) }} | {{ $l->verified_at?->format('d/m/Y') ?? '—' }} | |
| No linked numbers yet. | |||
| When | Command | Learner |
|---|---|---|
| {{ $g->created_at->format('d/m H:i') }} | {{ $g->command }} |
{{ $g->learner->full_name ?? ('#'.$g->learner_id) }} |
| No bot requests yet. | ||
register 12345 (admission no).register. Guardians reply STOP to unlink.