From fed51928c70354901e326573e3701b3b69054cc6 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 17 Sep 2023 18:10:21 -0400 Subject: [PATCH] Updated Status Badge Colors --- ticket.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ticket.php b/ticket.php index eac420e7..8e2540d3 100644 --- a/ticket.php +++ b/ticket.php @@ -61,10 +61,14 @@ if (isset($_GET['ticket_id'])) { $ticket_feedback = nullable_htmlentities($row['ticket_feedback']); $ticket_status = nullable_htmlentities($row['ticket_status']); - if ($ticket_status == "Open") { + if ($ticket_status == "Pending-Assignment") { + $ticket_status_display = "$ticket_status"; + } elseif ($ticket_status == "Assigned") { $ticket_status_display = "$ticket_status"; - } elseif ($ticket_status == "Working") { + } elseif ($ticket_status == "In-Progress") { $ticket_status_display = "$ticket_status"; + } elseif ($ticket_status == "Closed") { + $ticket_status_display = "$ticket_status"; } else { $ticket_status_display = "$ticket_status"; }