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

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

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/demo_bk/resources/views/hr/resignInfo/form.blade.php on line 170
> {!! 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', (@$data['canUpdateAfterApprove'] == true) ? 'disabled' : null ]) !!}

{{ $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', ['' => 'Select any'], $data['model']->project_id_fk, [ 'class' => 'form-control getBranch', 'id' => 'project_id_fk', (@$data['canUpdateAfterApprove'] == true) ? 'disabled' : null ]) !!}

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

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

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

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

{{ $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', (@$data['canUpdateAfterApprove'] == true) ? 'disabled' : null ]) !!}

{{ $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', 'autocomplete' => 'off', ]) !!}

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

@if ($data['hrModuleStatus'] == 1) {!! 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', 'autocomplete' => 'off', ]) !!}

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

@else {!! 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', 'autocomplete' => 'off', ]) !!}

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

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

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

{!! 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') }}

{!! 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') }}

@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')