@php $devices = $devices ?? collect(); $templates = $templates ?? collect(); $groups = $groups ?? collect(); $queues = $queues ?? collect(); @endphp
{{ __('Scheduled / New') }}
{{ __('Schedule a') }} {{ __('message') }}
{{ __('Draft / unsaved') }}
@php // Shape templates for the JS picker. Only approved+active templates are // surfaced to the operator — same rule the /templates page uses. $tplJson = $templates ->map( fn($t) => [ 'id' => $t->id, 'name' => $t->template_name, 'body' => $t->template_body ?: '', 'cat' => $t->category ?: 'Marketing', ], ) ->values() ->all(); @endphp
1 {{ __('Basics') }}
2 {{ __('Recipients') }}
3 {{ __('Message') }}
4 {{ __('When') }}
5 {{ __('Review') }}
01 {{ __('Schedule basics') }} {{ __('required') }}
{{ __("Internal label only — recipients don't see this.") }}
{{-- Unified multi-engine sender picker — surfaces every connected sender across ALL the workspace's enabled engines (Unofficial API / Meta / Twilio) as composite engine:id keys. Each ticked sender gets its own ScheduledMessage row (server fans out via sender[]). Contact-numbers split round-robin across rows so each customer gets one message total, not one per sender. A single connected sender renders as a one-item list which the JS auto-ticks for the legacy one-tap UX. --}} @if ($senders->count() > 1)
{{ __('Each ticked sender runs its own schedule with a fair share of the audience.') }}
@endif
{{ __('Step') }} 1 of 5