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:
@@ -254,7 +254,8 @@ if ( (isset($_GET['appointment_id']) && isset($_GET['case_id'])) ||(isset($_GET[
|
|||||||
$ops = $db->GetAll("SELECT o.operator_id as value,
|
$ops = $db->GetAll("SELECT o.operator_id as value,
|
||||||
CONCAT(o.firstName, ' ', o.lastName) as description,
|
CONCAT(o.firstName, ' ', o.lastName) as description,
|
||||||
CASE WHEN o.operator_id = '$require_operator_id' THEN 'selected=\'selected\'' ELSE '' END as selected
|
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\'";
|
$selected = "selected=\'selected\'";
|
||||||
foreach($ops as $o)
|
foreach($ops as $o)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user