From 159c1d78a07b20abf20225b6fd39f2caddc20caf Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Sun, 26 May 2024 22:49:57 +0100 Subject: [PATCH] Ticket categories Add basic support for categorising tickets (e.g. Software/Network) --- admin_categories.php | 10 +++++++-- post/ticket.php | 3 ++- ticket.php | 21 +++++++++++++------ ticket_edit_modal.php | 48 ++++++++++++++++++++++++++++++++++--------- 4 files changed, 63 insertions(+), 19 deletions(-) diff --git a/admin_categories.php b/admin_categories.php index 00c0991db..c747ba797 100644 --- a/admin_categories.php +++ b/admin_categories.php @@ -93,6 +93,12 @@ class="btn ">Payment Method + Ticket Archived $category_id = intval($row['category_id']); $category_name = nullable_htmlentities($row['category_name']); $category_color = nullable_htmlentities($row['category_color']); - + ?> Archived purify($row['ticket_details']); $ticket_priority = nullable_htmlentities($row['ticket_priority']); @@ -404,18 +406,25 @@
- + Tasks Completed%
/
- +
+ + 0) { ?> +
+ +
+ +
@@ -451,7 +460,7 @@ - + Close @@ -625,7 +634,7 @@ -
Responses ()
+
Responses ()
- + diff --git a/ticket_edit_modal.php b/ticket_edit_modal.php index e972e0b74..9f519b704 100644 --- a/ticket_edit_modal.php +++ b/ticket_edit_modal.php @@ -55,17 +55,45 @@
-
- -
-
- +
+
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +
+
+ +
+ +
-