mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fixed bug: When last outcome is Technical Phone Problems, case outcome set to not attempted or worked
This commit is contained in:
@@ -1980,7 +1980,7 @@ function end_case($operator_id)
|
|||||||
//code as eligible if ever eligible, or if referred to the supervisor, code as that if last call
|
//code as eligible if ever eligible, or if referred to the supervisor, code as that if last call
|
||||||
$sql = "SELECT c.outcome_id as outcome_id
|
$sql = "SELECT c.outcome_id as outcome_id
|
||||||
FROM `call` as c
|
FROM `call` as c
|
||||||
JOIN outcome AS o ON ( c.outcome_id = o.outcome_id AND (o.eligible = 1 OR o.outcome_type_id = 2) )
|
JOIN outcome AS o ON ( c.outcome_id = o.outcome_id AND (o.eligible = 1 OR o.outcome_type_id = 2 OR o.outcome_type_id = 1) )
|
||||||
WHERE c.case_id = '$case_id'
|
WHERE c.case_id = '$case_id'
|
||||||
ORDER BY c.call_id DESC";
|
ORDER BY c.call_id DESC";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user