{{-- --}}
{!! Form::open(array('role' => 'form', 'files'=>'false', 'class'=>'form-horizontal form-groups')) !!}
Warning: Undefined variable $data in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/resignInfo/form.blade.php on line 143

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/resignInfo/form.blade.php on line 143

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/resignInfo/form.blade.php on line 143
> {!! Form::label('company_id_fk', $data['attributes']['company_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('company_id_fk', $data['companyData'], $data['model']->company_id_fk, ['class' => 'form-control getProject', 'id' => 'company_id_fk']) !!}

{{ $errors->error->first('company_id_fk') }}

{!! Form::label('project_id_fk', $data['attributes']['project_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('project_id_fk', array(''=>'Select any'), $data['model']->project_id_fk, ['class' => 'form-control getBranch', 'id' => 'project_id_fk']) !!}

{{ $errors->error->first('project_id_fk') }}

Warning: Undefined variable $data in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/resignInfo/form.blade.php on line 157

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/resignInfo/form.blade.php on line 157

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/resignInfo/form.blade.php on line 157
> {!! Form::label('branch_id_fk', $data['attributes']['branch_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('branch_id_fk', array(''=>'Select any'), $data['model']->branch_id_fk, ['class' => 'form-control getUser', 'id' => 'branch_id_fk']) !!}

{{ $errors->error->first('branch_id_fk') }}

{!! Form::label('users_id_fk', $data['attributes']['users_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('users_id_fk', [''=>'Select any'], $data['model']->users_id_fk, ['class' => 'form-control', 'id' => 'users_id_fk']) !!}

{{ $errors->error->first('users_id_fk') }}

{!! Form::label('position', $data['attributes']['position'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('position', $data['model']->position, ['class' => 'form-control', 'id' => 'position', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('position') }}

{!! Form::label('recruitment_type', $data['attributes']['recruitment_type'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('recruitment_type', $data['model']->recruitment_type, ['class' => 'form-control', 'id' => 'recruitment_type', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('recruitment_type') }}

{!! Form::label('resign_date', $data['attributes']['resign_date'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('resign_date', $data['model']->resign_date, ['class' => 'form-control datepicker', 'id' => 'resign_date']) !!}

{{ $errors->error->first('resign_date') }}

{!! Form::label('expected_effect_date', $data['attributes']['expected_effect_date'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('expected_effect_date', $data['model']->expected_effect_date, ['class' => 'form-control datepicker', 'id' => 'expected_effect_date']) !!}

{{ $errors->error->first('expected_effect_date') }}

{!! Form::label('note', $data['attributes']['note'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::textarea('note', $data['model']->note, ['class' => 'form-control', 'id' => 'note', 'rows'=>3]) !!}

{{ $errors->error->first('note') }}

{!! Form::label('reason', $data['attributes']['reason'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('reason', $data['reasonData'], $data['model']->reason, ['class' => 'form-control', 'id' => 'reason']) !!}

{{ $errors->error->first('reason') }}

@if(@$data['action']=='Approve')
{!! Form::label('effect_date', $data['attributes']['effect_date'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('effect_date', $data['model']->effect_date, ['class' => 'form-control datepicker', 'id' => 'effect_date']) !!}

{{ $errors->error->first('effect_date') }}

@endif
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@section('footerAssets')