get_STE($_REQUEST['left_ste'])[0]; $right_ste = $db->get_STE($_REQUEST['right_ste'])[0]; $left_tgts = $db->get_Target_Details($_REQUEST['left_ste']); $right_tgts = $db->get_Target_Details($_REQUEST['right_ste']); $left_cnt = (is_array($left_tgts) ? count($left_tgts) : 0); $right_cnt = (is_array($right_tgts) ? count($right_tgts) : 0); $left_cats = $db->get_STE_Category_List($left_ste->get_ID()); $right_cats = $db->get_STE_Category_List($right_ste->get_ID()); $left_cat_1 = 0;$left_cat_2 = 0;$left_cat_3 = 0;$left_nf = 0;$left_na = 0;$left_nr = 0; $right_cat_1 = 0;$right_cat_2 = 0;$right_cat_3 = 0;$right_nf = 0;$right_na = 0;$right_nr = 0; foreach($left_cats as $key => $cat) { $left_cat_1 += $db->get_Finding_Count_By_Status($cat->get_ID(), "Open", "1"); $left_cat_2 += $db->get_Finding_Count_By_Status($cat->get_ID(), "Open", "2"); $left_cat_3 += $db->get_Finding_Count_By_Status($cat->get_ID(), "Open", "3"); $left_nf += $db->get_Finding_Count_By_Status($cat->get_ID(), "Not a Finding"); $left_na += $db->get_Finding_Count_By_Status($cat->get_ID(), "Not Applicable"); $left_nr += $db->get_Finding_Count_By_Status($cat->get_ID(), "Not Reviewed"); } foreach($right_cats as $key => $cat) { $right_cat_1 += $db->get_Finding_Count_By_Status($cat->get_ID(), "Open", "1"); $right_cat_2 += $db->get_Finding_Count_By_Status($cat->get_ID(), "Open", "2"); $right_cat_3 += $db->get_Finding_Count_By_Status($cat->get_ID(), "Open", "3"); $right_nf += $db->get_Finding_Count_By_Status($cat->get_ID(), "Not a Finding"); $right_na += $db->get_Finding_Count_By_Status($cat->get_ID(), "Not Applicable"); $right_nr += $db->get_Finding_Count_By_Status($cat->get_ID(), "Not Reviewed"); } ?>
ST&E | Target Count | I | II | III | NF | NA | NR | Charts? |
---|---|---|---|---|---|---|---|---|
get_System()->get_Name()." ".$left_ste->get_Site()->get_Name()." ".$left_ste->get_Eval_Start_Date()->format("Y-m-d")."-".$left_ste->get_Eval_End_Date()->format("Y-m-d") ?> | ||||||||
get_System()->get_Name()." ".$right_ste->get_Site()->get_Name()." ".$right_ste->get_Eval_Start_Date()->format("Y-m-d")."-".$right_ste->get_Eval_End_Date()->format("Y-m-d") ?> |