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

Add questionnaire_timeslot table

Alter case sorting/selecting SQL to consider timeslots if set.
If set, only select a case if a current timeslot exists and the number of calls in the slot is less than the maximum number of calls made in any other slot
This commit is contained in:
Adam Zammit
2014-12-16 15:00:48 +11:00
parent 3f4710e477
commit 80d7f4029e
4 changed files with 15 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ if (isset($_GET['questionnaire_id'])) $questionnaire_id = bigintval($_GET['ques
xhtml_head(T_("Assign call attempt time slots to questionnaire"),true,false,array("../js/window.js"));
print "<p>" . T_("Assigning call attempt time slots to questionnaires will only allow cases to be attempted in a time slot for the n + 1th time where it has been called at least n times in all assigned timeslots") ."</p>";
print "<p>" . T_("Assigning call attempt time slots to questionnaires will only allow cases to be attempted in a time slot for the n + 1th time where it has been called at least n times in all assigned timeslots. Please note timeslots must cover all possible time periods otherwise no cases will be available during missing timeslots.") ."</p>";
print "<h3>" . T_("Select a questionnaire from the list below") . "</h3>";
display_questionnaire_chooser($questionnaire_id);