mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added email to respondent popup
Changed id's of self completion outcomes to allow for a few custom ones to not effect Added email validation and token getting functions Optout function of limesurvey to set outcome to refused and add a case note for clarity Need to do: Complete email function to actually send an email invitation
This commit is contained in:
9
call.php
9
call.php
@@ -126,6 +126,7 @@ function display_outcomes($contacted,$ca,$case_id)
|
||||
WHERE contacted = '$contacted'
|
||||
AND outcome_id != 10"; //don't show completed if not
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
$rs = $db->GetAll($sql);
|
||||
@@ -133,7 +134,13 @@ function display_outcomes($contacted,$ca,$case_id)
|
||||
print "<div>";
|
||||
if (!empty($rs))
|
||||
{
|
||||
$do = false;
|
||||
//Get current outcome to set as default
|
||||
$sql = "SELECT outcome
|
||||
FROM `call`
|
||||
WHERE call_attempt_id = $ca
|
||||
AND `end` IS NULL";
|
||||
|
||||
$do = $db->GetOne($sql);
|
||||
if (isset($_GET['defaultoutcome'])) $do = bigintval($_GET['defaultoutcome']);
|
||||
foreach($rs as $r)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user