@switch($type)
@case('sms')
@php $id = 'sms_sender_id'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'sms_content'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@foreach($sms_variables as $key => $variable)
{{$variable}}
@endforeach
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'test_sms_destination'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
Please confirm legal requirements (e.g. Prefixes, UNSUB numbers) and constraints (e.g. Time of Day) for SMS blast within respective countries.
@break;
@case('email')
@php $id = 'email_subject'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'email_sender_name'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'email_reply_to'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'email_content'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@foreach($sms_variables as $key => $variable)
{{$variable}}
@endforeach
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'test_email_destination'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@break;
@case('whatsapp')
{{--
--}}
{{--
--}}
{{--
@php $id = 'test_wa_destination'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field_100', ['label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
Please confirm legal requirements (e.g. UNSUB numbers) and constraints (e.g. Time of Day) for Whatsapp blast within respective countries.
{{-- --}}
{{--
Whatsapp blast only allows to schedule {{$min_blast_min ?? ''}} minutes in advance. --}}
@break;
@endswitch
@endforeach
@endslot
@slot('footer_next')
@if($can_send_blast)