{!! Form::open(array('role' => 'form', 'files'=>'false', 'class'=>'form-horizontal form-groups', 'id' => 'formId',)) !!} {!! Form::hidden('grade_id_fk', null, ['id' => 'grade_id_fk']) !!} {!! Form::hidden('level_id_fk', null, ['id' => 'level_id_fk']) !!} {!! Form::hidden('position_id_fk', null, ['id' => 'position_id_fk']) !!} {!! Form::hidden('recruitment_type_fk', null, ['id' => 'recruitment_type_fk']) !!} {!! Form::hidden('fiscal_year_fk', null, ['id' => 'fiscal_year_fk']) !!} {!! Form::hidden('salary_increment_year', null, ['id' => 'salary_increment_year']) !!} {!! Form::hidden('previous_department_id', null, ['id' => 'previous_department_id']) !!}
{!! Form::label('company_id_fk', $data['attributes']['company_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('company_id_fk', $data['companyData'], $data['company_id_fk'] ?? null, ['class' => 'form-control getProject getSalaryIncrementYear', '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['project_id_fk'] ?? null, ['class' => 'form-control getBranch getSalaryIncrementYear', 'id' => 'project_id_fk']) !!}

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

{!! 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['branch_id_fk'] ?? null, ['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', [], $data['users_id_fk'] ?? null, ['class' => 'form-control', 'id' => 'users_id_fk']) !!}

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

Employee Status

Position Recruitment Type Current Department
Select an employee first.
{!! Form::hidden('previous_data', null, ['class' => 'form-control', 'id' => 'previous_data']) !!}

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

{!! Form::label('new_department_id', $data['attributes']['new_department_id'], ['class' => 'control-label','style' => 'margin-bottom: 8px;']) !!} {!! Form::select('new_department_id', $data['departments'], $data['model']->new_department_id, ['class' => 'form-control', 'id' => 'new_department_id']) !!}

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

{!! Form::label('effect_date', $data['attributes']['effect_date'], ['class' => 'control-label','style' => 'margin-bottom: 8px;']) !!} {!! Form::text('effect_date', $data['model']->effect_date, ['class' => 'form-control datepicker effect_date', 'id' => 'effect_date']) !!}

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

Benefit Type B


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

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

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/shikkhaplus/public_html/demo_bk/resources/views/hr/departmentChange/form.blade.php:93 Stack trace: #0 {main} thrown in /home/shikkhaplus/public_html/demo_bk/resources/views/hr/departmentChange/form.blade.php on line 93