<div class="row"> <?php erp_html_form_input(array('label' => __('Work Quality', 'wp-erp'), 'name' => 'work_quality', 'value' => '', 'class' => 'erp-hrm-select2', 'type' => 'select', 'id' => 'performance_work_quality', 'options' => array(0 => __('- Select -', 'wp-erp')) + erp_performance_rating())); ?> </div> <div class="row"> <?php erp_html_form_input(array('label' => __('Attendence/Punctuality', 'wp-erp'), 'name' => 'attendance', 'value' => '', 'class' => 'erp-hrm-select2', 'type' => 'select', 'id' => 'performance_attendance', 'options' => array(0 => __('- Select -', 'wp-erp')) + erp_performance_rating())); ?> </div> <div class="row"> <?php erp_html_form_input(array('label' => __('Communication/Listening', 'wp-erp'), 'name' => 'communication', 'value' => '', 'class' => 'erp-hrm-select2', 'type' => 'select', 'id' => 'performance_communication', 'options' => array(0 => __('- Select -', 'wp-erp')) + erp_performance_rating())); ?> </div> <div class="row"> <?php erp_html_form_input(array('label' => __('Dependablity', 'wp-erp'), 'name' => 'dependablity', 'value' => '', 'class' => 'erp-hrm-select2', 'type' => 'select', 'id' => 'performance_dependablity', 'options' => array(0 => __('- Select -', 'wp-erp')) + erp_performance_rating())); ?> </div> <?php wp_nonce_field('employee_update_performance'); ?> <input type="hidden" name="type" value="reviews"> <input type="hidden" name="action" id="performance-reviews-action" value="erp-hr-emp-update-performance-reviews"> <input type="hidden" name="employee_id" id="emp-id" value="{{ data.id }}"> </div>
<div class="performance-tab-wrap"> <?php $performance = $employee->get_performance(); ?> <?php $performance_rating = erp_performance_rating(); ?> <h3><?php _e('Performance Reviews', 'wp-erp'); ?> </h3> <?php if (current_user_can('erp_create_review')) { ?> <a href="#" id="erp-empl-performance-reviews" class="action button" data-id="<?php echo $employee->id; ?> " data-template="erp-employment-performance-reviews" data-title="<?php _e('Performance Reviews', 'wp-erp'); ?> "><span class="dashicons dashicons-plus erp-performance-dashicon"></span> <?php _e('Add Performance Reviews', 'wp-erp'); ?> </a> <?php } ?>