<div role="tabpanel" class="tab-pane" id="staff_hr_data">
    <div class="row">
        <div class="col-md-12">
            <?php echo render_select('hr[location_id]', $locations, ['id', ['name']], 'hr_location', isset($member) ? $member->location_id : ''); ?>
        </div>
        <div class="col-md-12">
            <?php echo render_select('hr[department_id]', $departments, ['departmentid', ['name']], 'hr_department', isset($member) ? $member->department_id : ''); ?>
        </div>
        <div class="col-md-12">
            <?php echo render_select('hr[parent_id]', $employees, ['staffid', ['firstname', 'lastname']], 'hr_reports_to', isset($member) ? $member->parent_id : ''); ?>
        </div>
        <div class="col-md-12">
            <?php echo render_input('hr[employee_id]', 'hr_employee_id', (isset($member) ? $member->employee_id : '')); ?>
        </div>
        <div class="col-md-12">
            <?php $designations = $this->designations_hr_model->get(null); ?>
            <?php echo render_select('hr[designation_id]', $designations, ['id', ['name']], 'employee_position', isset($member) ? $member->designation_id : ''); ?>
        </div>
        <div class="col-md-12">
            <?php echo render_select('hr[shift_id]', $shifts, ['id', ['name']], 'hr_shift', isset($member) ? $member->shift_id : ''); ?>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <?php echo render_textarea('hr[address]', 'employee_address', isset($member) ? $member->address : ''); ?>

        </div>

    </div>

</div>
