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

Only display active interviewers when creating an appointment

This commit is contained in:
Adam Zammit
2019-11-08 14:57:57 +11:00
parent f7b0830a01
commit b956565ca1

View File

@@ -254,7 +254,8 @@ if ( (isset($_GET['appointment_id']) && isset($_GET['case_id'])) ||(isset($_GET[
$ops = $db->GetAll("SELECT o.operator_id as value,
CONCAT(o.firstName, ' ', o.lastName) as description,
CASE WHEN o.operator_id = '$require_operator_id' THEN 'selected=\'selected\'' ELSE '' END as selected
FROM operator as o");
FROM operator as o
WHERE o.enabled = 1");
$selected = "selected=\'selected\'";
foreach($ops as $o)
{