{!! Form::open(['route' => ['admin::newsletter::delivery::send'],'class' => 'form-horizontal']) !!}
{!! Form::label(trans('Newsletter::admin/delivery/forms.new.form.labels.date'), null, ['class' => 'control-label col-sm-2'] ) !!}
{!! Form::text('mailSendDate', old('mailSendDate'), ['id' => 'mail-send-date', 'class' => 'datepicker mail-send-date col-sm-12']) !!}
{!! Form::label(trans('Newsletter::admin/delivery/forms.new.form.labels.time'), null, ['class' => 'control-label col-sm-2'] ) !!}
{!! Form::text('mailSendDateTime', old('mailSendDateTime'), ['id' => 'mail-send-date-time', 'class' => 'timepicker mail-send-date col-sm-12']) !!}
{!! Form::label(trans('Newsletter::admin/delivery/forms.new.form.labels.title'), null, ['class' => 'control-label col-sm-2'] ) !!}
{!! Form::text('mail-title', old('mail-title'), ['id' => 'mail-title', 'class' => 'mail-title col-sm-12']) !!}
{!! Form::label(trans('Newsletter::admin/delivery/forms.new.form.labels.group'), null, ['class' => 'control-label col-sm-2'] ) !!}
{!! Form::label('registered_users', trans('Newsletter::admin/delivery/forms.new.form.conditions.registered_users')) !!}
{!! Form::select('conditions[registered_users]', [ \App\Core\Modules\Newsletter\Models\NewsletterMailingContent::CONDITION_NONE => trans('Newsletter::admin/delivery/forms.new.form.conditions.not_selected'), \App\Core\Modules\Newsletter\Models\NewsletterMailingContent::CONDITION_YES => trans('global.yes'), \App\Core\Modules\Newsletter\Models\NewsletterMailingContent::CONDITION_NO => trans('global.no'), ], old('registered_users'), ['class' => 'form-control']) !!}
{!! Form::label('with_orders', trans('Newsletter::admin/delivery/forms.new.form.conditions.with_orders')) !!}
{!! Form::select('conditions[with_orders]', [ \App\Core\Modules\Newsletter\Models\NewsletterMailingContent::CONDITION_NONE => trans('Newsletter::admin/delivery/forms.new.form.conditions.not_selected'), \App\Core\Modules\Newsletter\Models\NewsletterMailingContent::CONDITION_YES => trans('global.yes'), \App\Core\Modules\Newsletter\Models\NewsletterMailingContent::CONDITION_NO => trans('global.no'), ], old('with_orders'), ['class' => 'form-control', 'id' => 'with_orders']) !!}
{!! Form::label('orders_value_from', trans('Newsletter::admin/delivery/forms.new.form.conditions.orders_value_from')) !!}
{!! Form::text('conditions[orders_value_from]', old('orders_value_from'), ['class' => 'form-control']) !!}
{!! Form::label('orders_value_to', trans('Newsletter::admin/delivery/forms.new.form.conditions.orders_value_to')) !!}
{!! Form::text('conditions[orders_value_to]', old('orders_value_to'), ['class' => 'form-control']) !!}
@cstack('admin.newsletter.delivery.new.beforeContent')
{!! Form::textarea('content', old('content'), ['id' => 'content', 'class' => 'ckeditor']) !!}
{!! Form::submit(trans('Newsletter::admin/delivery/forms.new.form.labels.send'), ['class' => 'btn btn-success', 'name' => 'submit']) !!}
{!! Form::close() !!} @push('footScripts') @endpush