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

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

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

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

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

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

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

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

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


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

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

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


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

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

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

{!! 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::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@section('footerAssets')