2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixes lp:1408870 Add "Maximum attempts reached" as an outcome

Dev: Updated outcomes to be 4 new outcomes (max calls, max call attempts split by eligible, unknown eligibility)
Dev: Set the end_case function to set the outcomes to max call * reached if those variables set
Dev: Made sure outcomes are temporary outcomes as otherwise numbers will not be available again if max call limits changed
Dev: This means the outcomes are indicators only and could still be assigned to operators - it is merely a temporary case outcome (not a final outcome nor a call outcome)
This commit is contained in:
Adam Zammit
2015-08-10 16:24:28 +10:00
parent 6b819340d8
commit 23942b8939
8 changed files with 95 additions and 33 deletions

View File

@@ -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,42,43,40)";
AND ou.outcome_id NOT IN (10,25,28,42,43,44,45,40)";
$cases_count = $db->GetRow($sql);
if ($cases_count['count_samples'] == 0){