@if (Auth::user()->type == 'company')
{{ Form::model($event, ['route' => ['event.update', $event->id], 'method' => 'PUT']) }}
@if (module_is_active('AIAssistant'))
@include('aiassistant::ai.generate_ai_btn',['template_module' => 'event','module'=>'Hrm'])
@endif
{{ Form::label('title', __('Event Title'), ['class' => 'col-form-label']) }}
{{ Form::text('title', null, ['class' => 'form-control', 'placeholder' => __('Enter Event Title'),'required' => 'required']) }}
{{ Form::label('start_date', __('Event start Date'), ['class' => 'col-form-label']) }}
{{ Form::date('start_date', null, ['class' => 'form-control ', 'autocomplete' => 'off','required' => 'required']) }}
{{ Form::label('end_date', __('Event End Date'), ['class' => 'col-form-label']) }}
{{ Form::date('end_date', null, ['class' => 'form-control ', 'autocomplete' => 'off','required' => 'required' ]) }}
{{ Form::label('description', __('Event Description'), ['class' => 'col-form-label']) }}
{{ Form::textarea('description', null, ['class' => 'form-control', 'rows' => '5', 'placeholder' => __('Enter Event Description')]) }}
{{ Form::close() }}
@endif
@if (!in_array(\Auth::user()->type, \Auth::user()->not_emp_type))