From 441591d39e294fd3c96d1e89de05d8af7e42ebd2 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Tue, 29 Mar 2022 21:16:02 +0100 Subject: [PATCH] Allow client to close ticket from portal --- portal/index.php | 2 +- portal/ticket.php | 30 ++++-------------------------- portal/ticket_view_all.php | 2 ++ 3 files changed, 7 insertions(+), 27 deletions(-) diff --git a/portal/index.php b/portal/index.php index e38f42ff..9f2a3638 100644 --- a/portal/index.php +++ b/portal/index.php @@ -89,7 +89,7 @@ $total_tickets = $row['total_tickets']; "; - echo " $ticket[ticket_number]"; + echo " $ticket[ticket_prefix]$ticket[ticket_number]"; echo " $ticket[ticket_subject]"; echo "$ticket[ticket_status]"; echo ""; diff --git a/portal/ticket.php b/portal/ticket.php index 89d04fea..13bcfa56 100644 --- a/portal/ticket.php +++ b/portal/ticket.php @@ -23,34 +23,16 @@ if(isset($_GET['id']) && intval($_GET['id'])) { - - - - - -
@@ -66,9 +48,6 @@ if(isset($_GET['id']) && intval($_GET['id'])) {
- - - @@ -170,7 +149,6 @@ if(isset($_GET['id']) && intval($_GET['id'])) { ?> - + # Subject Contact Status @@ -56,6 +57,7 @@ $all_tickets = mysqli_query($mysqli, "SELECT * FROM tickets LEFT JOIN contacts O "; + echo " $ticket[ticket_prefix]$ticket[ticket_id]"; echo " $ticket[ticket_subject]"; echo "$ticket[contact_name]"; echo "$ticket[ticket_status]";