@extends('layouts.app') @section('title', __('crm::lang.add_recursive_follow_up')) @section('content') @include('crm::layouts.nav')

@lang('crm::lang.add_recursive_follow_up')

{!! Form::open(['url' => action([\Modules\Crm\Http\Controllers\ScheduleController::class, 'store']), 'method' => 'post', 'id' => 'add_advance_schedule' ]) !!}
{!! Form::label('followup_category_id', __('crm::lang.followup_category') .':*') !!} {!! Form::select('followup_category_id', $followup_category, null, ['class' => 'form-control select2', 'required', 'style' => 'width: 100%;', 'placeholder' => __('messages.please_select')]); !!}
{!! Form::label('follow_up_by', __('crm::lang.follow_up_by') .':*') !!} @show_tooltip(__('crm::lang.follow_up_help'))
{{__('crm::lang.in')}}
{{__('lang_v1.days')}}
{!! Form::label('user_id', __('crm::lang.assgined') .':*') !!} {!! Form::select('user_id[]', $users, null, ['class' => 'form-control select2', 'multiple', 'required', 'style' => 'width: 100%;']); !!}
{!! Form::label('title', __('crm::lang.title') . ':*' )!!} {!! Form::text('title', null, ['class' => 'form-control', 'required' ]) !!}

{{$followup_tags['help_text']}}:

{!! Form::label('description', __('crm::lang.description') . ':') !!} {!! Form::textarea('description', null, ['class' => 'form-control ', 'id' => 'description']); !!}

{{$followup_tags['help_text']}}:

{!! Form::label('status', __('sale.status') .':') !!} {!! Form::select('status', $statuses, null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'style' => 'width: 100%;', 'id' => 'follow_up_create_status']); !!}
{!! Form::label('schedule_type', __('crm::lang.schedule_type') .':*') !!} {!! Form::select('schedule_type', $follow_up_types, null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required', 'style' => 'width: 100%;']); !!}

@show_tooltip(__('crm::lang.send_schedule_notificatoion'))
{!! Form::label('notify_via', __('crm::lang.notify_via') .':*') !!}
{!! Form::label('notify_before', __('crm::lang.notify_before') . ':*') !!}
{!! Form::number('notify_before', 1, ['class' => 'form-control width-40 pull-left', 'placeholder' => __('crm::lang.notify_before'), 'required']); !!} {!! Form::select('notify_type', $notify_type, 'hour', ['class' => 'form-control width-60 pull-left']); !!}
{!! Form::close() !!}
@endsection @section('javascript') @endsection