@if (Auth::user()->type == 'company') {{ Form::model($event, ['route' => ['event.update', $event->id], 'method' => 'PUT']) }} {{ Form::close() }} @endif @if (!in_array(\Auth::user()->type, \Auth::user()->not_emp_type))
{{ __('Title') }}
{{ $event->title }}
{{ __('Start Date') }}
{{ company_date_formate($event->start_date) }}
{{ __('End Date') }}
{{ company_date_formate($event->end_date) }}
{{ __('Description') }}
{{ $event->description }}
@endif @if (Auth::user()->type == 'hr') {{ 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')]) }}
{{ Form::label('start_date', __('Event start Date'), ['class' => 'col-form-label']) }} {{ Form::date('start_date', null, ['class' => 'form-control ', 'autocomplete' => 'off']) }}
{{ Form::label('end_date', __('Event End Date'), ['class' => 'col-form-label']) }} {{ Form::date('end_date', null, ['class' => 'form-control ', 'autocomplete' => 'off']) }}
{{ Form::label('color', __('Event Select Color'), ['class' => 'col-form-label d-block mb-3']) }}
{{ Form::label('description', __('Event Description'), ['class' => 'col-form-label']) }} {{ Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => __('Enter Event Description')]) }}
{{ Form::close() }} @endif