{{-- start for ai module--}}
@php
$plan= \App\Models\Utility::getChatGPTSettings();
@endphp
@if($plan->chatgpt == 1)
@endif
{{-- end for ai module--}}
@if(\Auth::user()->type =='company' || \Auth::user()->type =='HR')
{{Form::label('employee_id',__('Employee') ,['class'=>'form-label'])}}
{{Form::select('employee_id',$employees,null,array('class'=>'form-control select','id'=>'employee_id','placeholder'=>__('Select Employee')))}}
@endif
{{ Form::label('start_date', __('Start Date'),['class'=>'form-label']) }}
{{Form::date('start_date',null,array('class'=>'form-control','required' =>'required'))}}
{{ Form::label('end_date', __('End Date'),['class'=>'form-label']) }}
{{Form::date('end_date',null,array('class'=>'form-control','required' =>'required'))}}
{{Form::label('leave_reason',__('Leave Reason') ,['class'=>'form-label'])}}
{{Form::textarea('leave_reason',null,array('class'=>'form-control','placeholder'=>__('Leave Reason'),'required' =>'required'))}}
{{Form::label('remark',__('Remark'),['class'=>'form-label'])}}
{{Form::textarea('remark',null,array('class'=>'form-control grammer_textarea','placeholder'=>__('Leave Remark'),'required' =>'required'))}}
{{Form::close()}}