@component('components.widget', ['title' => __('essentials::lang.hrm_details')])
{!! Form::label('location_id', __('lang_v1.primary_work_location') . ':') !!}
{!! Form::select('location_id', $locations, !empty($user->location_id) ? $user->location_id : null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select')]); !!}
{!! Form::label('pay_components', __('essentials::lang.pay_components') . ':') !!}
{!! Form::select('pay_components[]', $pay_comoponenets, !empty($allowance_deduction_ids) ? $allowance_deduction_ids : [], ['class' => 'form-control select2', 'multiple' ]); !!}
@endcomponent