$last_month_relation = $top->getAdminsNewEmp($id, $end_of_last_month); //20150624 ADD Kumabe if ($last_month_relation) { $hearing_no_data = $top->checkHearing($last_month, $id); } } $param['weekly_a_no_data'] = $w_a_no_data_name; $param['monthly_a_no_data'] = $m_a_no_data_name; $param['monthly_a_unit_no_data'] = $m_a_unit_no_data_name; $param['hearing_no_data'] = $hearing_no_data; $param['admin_all_new_emp'] = $new_employee_all; $param['admin_new_emp'] = $new_employee; } //責任者上長・本部 if (in_array(ACCOUNT_DEPARTMENT, $authority)) { $new_employee = $top->getDepartmentsNewEmp($department_cd, $division_cd); $admin = $top->getDepartmentsAdmin($department_cd, $division_cd); $param['id'] = $id; $param['department_new_emp'] = $new_employee; $param['department_admin'] = $admin; $param['department_cd'] = $department_cd; $param['division_cd'] = $division_cd; //本部/部名取得 if ($department_cd == "9999") { //本部なし $division_name = $top->getDivisionName($division_cd); $param['department_name'] = $division_name; } else { //本部あり $department_name = $top->getDepartmentName($department_cd); $param['department_name'] = $department_name;