@component('admin.components.step_form_pages',
[ //'post_url'=>$post_url,
'type'=>'blast',
'title'=> 'Who are you sending this blast to?' ,
'step'=>'1'
])
@php $id = 'modules'; $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( $form[$id]['input'] as $gid => $name)
{{$name}}
@endforeach
@endcomponent
Blast will be sent to users who
@php $id = 'event_occurrence_opt'; $hasError = $errors->has($id) @endphp
@php $id = 'event_has_done'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-4','label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@foreach( $form[$id]['input'] as $gid => $name)
{{$name}}
@endforeach
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'blast_trigger_event_is_category'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-12 mb-0','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 = 'event_type_id'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-12','label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
{{-- @foreach( $form[$id]['input'] as $gid => $name)--}}
{{-- {{$name}} --}}
{{-- @endforeach--}}
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'event_category_id'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-12','label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
{{-- @foreach( $form[$id]['input'] as $gid => $name)--}}
{{-- {{$name}} --}}
{{-- @endforeach--}}
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
For how many times
@php $id = 'event_occurrence_opt'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-4','label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@foreach( $form[$id]['input'] as $gid => $name)
{{$name}}
@endforeach
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'event_occurrence'; $hasError = $errors->has($i.'_'.$id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-8','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 = 'blast_trigger_period'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-12','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
{{--
Registration period --}}
@php $id = 'generic_registration_period'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-12','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
{{--
Download period --}}
@php $id = 'voucher_downloaded_period'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-12','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 = 'voucher_series'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-12','label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@if( $form[$id]['input'])
@foreach( $form[$id]['input'] as $gid => $name)
{{$name}}
@endforeach
@endif
@if($voucher_series)
@foreach( $voucher_series as $sid)
{{$sid['title']}} [{{$sid['series_id']}}]
@endforeach
@endif
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
@php $id = 'voucher_status'; $hasError = $errors->has($id) @endphp
@component('admin.components.form_field', ['class'=>'col-sm-12','label'=>$form[$id]['label'], 'required'=>$form[$id]['req'], 'description'=>$form[$id]['descr'], 'hasError'=>$hasError ])
@if( $form[$id]['input'])
@foreach( $form[$id]['input'] as $gid => $name)
{{$name}}
@endforeach
@endif
@component('admin.components.form_error_msg', ['hasError'=>$hasError]){{ $errors->first($id) }}@endcomponent
@endcomponent
{{-- @php $id = 'blast_main_game_filter'; $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 ])--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
Module --}}
{{--
--}}
{{-- --}}
{{-- @foreach(getModuleActivationStatus() as $module => $status)--}}
{{-- @if($status && in_array($module, array_keys(config('modules.name'))))--}}
{{-- {{config('modules.name.'.$module)}} --}}
{{-- @endif--}}
{{-- @endforeach--}}
{{-- --}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{-- More Filters --}}
{{-- --}}
{{--
--}}
{{-- @endcomponent--}}
@php $id = 'blast_exclusion'; $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 ])
Generate Target Users
@php $id = 'blast_groups'; $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 ])
@endcomponent
@endcomponent
@php $id = 'blast_target_save'; $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 ])
@php $save_settings =[
'none'=>'Continue without Saving
To use for this blast only ',
'overwrite'=>'Overwrite current Setting
Changes other blasts with this setting ',
'new'=>'Save as new Setting
To reuse or ref in future blasts ',
] @endphp
@foreach ($save_settings as $key => $value)
{!! $value !!}
@endforeach
@endcomponent
@slot('footer_back')
Back
@endslot
@slot('footer_next')
Next Step
@endslot
@endcomponent
@section('script')
@parent
@endSection