@extends('layout')@section('c')@include('settings_tabs',['active'=>'notifications'])
@csrf

SMS — Africa's Talking

WhatsApp — Meta Cloud API

The template needs a single body variable; the message text is placed in it.

Default country code

Used for numbers saved as 07xx… (Kenya = 254)

Your phone for admin alerts Receives new-request and proof-of-payment alerts

When to send messages

@foreach($events as $k=>$label)@endforeach
EventChannelMessage (use {name} {company} {stage} {item} {date} {employer} {invoice} {amount} {trade} {qty})
{{ $label }} @if(in_array($k,['registered','stage_done','employed','expiry']))@endif

Send a test message

@csrf

Expiry reminders

Messages candidates in process whose passport (180 days), medical or visa (30 days) is about to expire. Each candidate is reminded at most once every 14 days.

@csrf

Recent messages

@foreach($log as $x)@endforeach
WhenChannelToCandidateMessageStatus
{{ $x->created_at }}{{ $x->channel }}{{ $x->recipient }}{{ $x->full_name }}{{ \Illuminate\Support\Str::limit($x->message,70) }}{{ $x->status }}
@endsection