{!! Form::open(array('role' => 'form', 'files'=>'false', 'class'=>'form-horizontal form-groups')) !!}
{!! 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 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['model']->project_id_fk, ['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['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') }}

Present Status
Fiscal Year Grade Level Position Recruitment Type Salary Increment Year
Choose employee first
{!! Form::hidden('previous_data', $data['model']->previous_data, ['class' => 'form-control', 'id' => 'previous_data']) !!}

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

{!! Form::label('fiscal_year_fk', $data['attributes']['fiscal_year_fk'], ['class' => 'col-sm-2']) !!}
{!! Form::select('fiscal_year_fk', $data['fiscalYearData'], (isset($data['req']['fiscal_year_fk']))?$data['req']['fiscal_year_fk']:$data['model']->fiscal_year_fk, ['class' => 'form-control getSalaryIncrementYear', 'id' => 'fiscal_year_fk']) !!}
{!! Form::label('promotion_type', $data['attributes']['promotion_type'], ['class' => 'col-sm-2']) !!}
{!! Form::select('promotion_type', $data['promotionTypeData'], (isset($data['req']['promotion_type']))?$data['req']['promotion_type']:$data['model']->promotion_type, ['class' => 'form-control getSalaryIncrementYear', 'id' => 'promotion_type']) !!}
{!! Form::label('grade_id_fk', $data['attributes']['grade_id_fk'], ['class' => 'col-sm-2 control-label']) !!}

Warning: Undefined variable $data in /home/shikkhaplus/public_html/resources/views/hr1/promotion/form.blade.php on line 76

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/resources/views/hr1/promotion/form.blade.php on line 76

Warning: Attempt to read property "grade_id_fk" on null in /home/shikkhaplus/public_html/resources/views/hr1/promotion/form.blade.php on line 76
{!! Form::select('grade_id_fk', $data['gradeData'], $data['model']->grade_id_fk, ['class' => 'form-control getPosition getLevel getSalaryIncrementYear', 'id' => 'grade_id_fk']) !!}

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

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

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

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

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

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

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

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

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

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

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

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

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

Benefit Type B


Warning: Undefined variable $data in /home/shikkhaplus/public_html/resources/views/hr1/promotion/form.blade.php on line 132

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/resources/views/hr1/promotion/form.blade.php on line 132

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