} // OJT開始時、紐付き期間前にアラートをださないための処理 if ($month > START_MONTH) { // 責任者(a)未記入の月報(m)があるかチェック // 未記入の月報があればその新入社員のIDを返す $m_no_data_id = $top->checkAdminsMonthly($start, $end, $new_emp_id); // 責任者未記入の月報の新入社員名を取得 for ($i = 0; $i < count($m_no_data_id); $i++) { foreach ($new_employee as $key => $value) { if ($value["id"] == $m_no_data_id[$i]) { array_push($m_a_no_data_name, $value["name"]); } } } // 未記入の月報(到達レベル欄)があればその新入社員のIDを返す $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);