@extends('layouts.admin') @section('title', 'Edit WhatsApp Campaign') @section('content')

{{ __('Edit WhatsApp Campaign') }}

@csrf @method('PUT')

Edit WhatsApp Campaign

Update your WhatsApp marketing campaign

Campaign Details

@error('name')

{{ $message }}

@enderror

Message Content

You can include emojis and formatting

0/1000 characters
@error('message')

{{ $message }}

@enderror

Enter a URL to an image, video, or document

@error('media_url')

{{ $message }}

@enderror
@error('media_type')

{{ $message }}

@enderror

Click to add personalization tags to your message

Recipients

@php $selectedRecipients = old('recipient_list', $campaign->recipients->pluck('id')->toArray()); @endphp @foreach($clients as $client)
id, $selectedRecipients) ? 'checked' : '' }}>

{{ $client->phone_number }}

@endforeach
@error('recipient_list')

{{ $message }}

@enderror

Send a test message to this WhatsApp number before sending to all recipients

@error('test_number')

{{ $message }}

@enderror

Scheduling

Leave empty to save as draft

@error('scheduled_at')

{{ $message }}

@enderror
@error('status')

{{ $message }}

@enderror
Cancel
@push('scripts') @endpush @endsection