diff --git a/call_interface2.php b/call_interface2.php index 95588070..27227cda 100644 --- a/call_interface2.php +++ b/call_interface2.php @@ -123,7 +123,7 @@ function display_outcomes($contacted,$ca,$case_id) $sql = "SELECT outcome_id,description,contacted FROM outcome WHERE contacted = '$contacted' - AND outcome_id NOT IN(5,10,19,21,40,41,34,35)"; + AND outcome_id NOT IN(5,10,19,21,40,41,42,43)"; } } else @@ -133,7 +133,7 @@ function display_outcomes($contacted,$ca,$case_id) $sql = "SELECT outcome_id,description,contacted FROM outcome WHERE contacted = '$contacted' - AND outcome_id NOT IN(5,10,19,21,40,41,34,35)"; + AND outcome_id NOT IN(5,10,19,21,40,41,42,43)"; } } } diff --git a/nocaseavailable.php b/nocaseavailable.php index 42e8c330..faa9072f 100644 --- a/nocaseavailable.php +++ b/nocaseavailable.php @@ -156,7 +156,7 @@ $sql = "SELECT count(s.sample_id) as count_samples AND si.enabled = 1 AND !(si.call_restrict = 1 AND cr.day_of_week IS NULL) AND ou.outcome_type_id IN( SELECT outcome_type_id FROM operator_skill WHERE operator_id = '$operator_id') - AND ou.outcome_id NOT IN (10,25,28,34,35,40) "; + AND ou.outcome_id NOT IN (10,25,28,42,43,40) "; $rs = $db->GetRow($sql); diff --git a/waitnextcase_interface2.php b/waitnextcase_interface2.php index c8a2624d..4545022c 100644 --- a/waitnextcase_interface2.php +++ b/waitnextcase_interface2.php @@ -138,7 +138,7 @@ else //assigned to operator - // call restrictions and outside times, operator skill and filter outcomes 10,25,28,34,35,40 + // call restrictions and outside times, operator skill and filter outcomes 10,25,28,42,43,40 $sql = "SELECT COUNT( DISTINCT sv.sample_id) as count_samples FROM `sample` as s JOIN `sample_var` as sv on( s.sample_id = sv.sample_id ) @@ -149,7 +149,7 @@ else AND s.import_id IN ($siid) AND !(si.call_restrict = 1 AND cr.day_of_week IS NULL) AND ou.outcome_type_id IN( SELECT outcome_type_id FROM operator_skill WHERE operator_id = '$operator_id') - AND ou.outcome_id NOT IN (10,25,28,34,35,40)"; + AND ou.outcome_id NOT IN (10,25,28,42,43,40)"; $cases_count = $db->GetRow($sql); if ($cases_count['count_samples'] == 0){