@php $editing = isset($emailCampaign); $currentRecipientType = old( 'recipient_type', $emailCampaign->recipient_type ?? App\Models\EmailCampaign::RECIPIENT_ALL_MEMBERS ); $currentDepartmentId = old( 'department_id', $emailCampaign->department_id ?? '' ); $currentMemberIds = collect( old( 'member_ids', $selectedMemberIds ?? [] ) ) ->map(fn ($id) => (string) $id) ->all(); $scheduledValue = old( 'scheduled_at', isset($emailCampaign) && $emailCampaign->scheduled_at ? $emailCampaign->scheduled_at->format('Y-m-d\TH:i') : '' ); @endphp
{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@elsePlain text is converted into a clean email format.
@enderror 0 / 50,000Choose who should receive this email campaign.
{{ $message }}
@enderrorLeave empty to queue the campaign immediately when you press Send.
@error('scheduled_at'){{ $message }}
@enderror