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

@@ -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,42,43,40) ";
AND ou.outcome_id NOT IN (10,25,28,42,43,44,45,40) ";
$rs = $db->GetRow($sql);