$m_unit_no_data_id = $top->checkAdminsTargetUnit($start, $end, $month, $new_emp_id); //20150601 ADD Kumabe // 責任者未記入の月報(到達レベル欄)の新入社員名を取得 for ($i = 0; $i < count($m_unit_no_data_id); $i++) { foreach ($new_employee as $key => $value) { if ($value["id"] == $m_unit_no_data_id[$i]) { array_push($m_a_unit_no_data_name, $value["name"]); } } } // 前月末時点で担当新入社員が存在している責任者の場合、未記入のヒアリングシートがあるかチェック // 未記入のヒアリングシートがあればTRUEを返す $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;