{{ __('Admin · Marketing') }}
{{ __('Email') }} {{ __('campaigns') }}.
{{ __('Send an email to your registered users through your configured SMTP. Use it to announce pricing, terms, policy or feature changes.') }}
{{ __('SMTP is not configured — emails will not be delivered.') }}
{{ __('Set it up in Settings → Mail') }}.
@endunless
@foreach ([
['label' => __('Campaigns'), 'value' => $stats['total']],
['label' => __('Sent'), 'value' => $stats['sent']],
['label' => __('In progress'), 'value' => $stats['sending']],
['label' => __('Opted out'), 'value' => $stats['opted_out']],
] as $card)
@endforeach
{{-- Automated plan-expiry reminder emails (sent to each workspace owner
when their paid plan is about to expire). --}}
{{ $card['label'] }}
{{ number_format($card['value']) }}
{{ __('Automated') }}
{{ __('Plan expiry reminders') }}
{{ __('Emails the workspace owner a renew reminder as their paid plan nears expiry. Sent through the same SMTP.') }}
| {{ __('Subject') }} | {{ __('Audience') }} | {{ __('Status') }} | {{ __('Sent / Total') }} | {{ __('Created') }} | |
|---|---|---|---|---|---|
| {{ $c->subject }} @if ($c->template_key) · {{ $c->template_key }} @endif | {{ ucfirst($c->segment) }} | @php $tone = ['sent' => 'bg-wa-mint text-wa-deep', 'sending' => 'bg-accent-amber/15 text-[#7B5A14]', 'queued' => 'bg-accent-amber/15 text-[#7B5A14]', 'failed' => 'bg-accent-coral/15 text-accent-coral'][$c->status] ?? 'bg-paper-100 text-ink-600'; @endphp {{ ucfirst($c->status) }} | {{ number_format($c->sent_count) }} / {{ number_format($c->total_recipients) }}@if ($c->failed_count) ({{ $c->failed_count }} {{ __('failed') }})@endif | {{ $c->created_at?->diffForHumans() }} | {{ __('View') }} |
| {{ __('No campaigns yet. Create your first one.') }} | |||||
{{ $campaigns->links() }}