From 093fd694154f08f233753fe7a7cb88b6e667c743 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 16 Feb 2025 18:27:43 -0500 Subject: [PATCH] Migrated Ticket Priority, Assign Agent, Assign Contact, Ticket Billable, Task edit, task_template edit to the the new AJAX Modal --- admin_ticket_template_details.php | 7 +- ajax/ajax_ticket_assign.php | 45 +++++------ ajax/ajax_ticket_billable.php | 59 ++++++++++++++ ajax/ajax_ticket_contact.php | 101 ++++++++++++++++++++++++ ajax/ajax_ticket_priority.php | 62 +++++++++++++++ ajax/ajax_ticket_reply_edit.php | 70 ++++++++++++++++ ajax/ajax_ticket_task_edit.php | 64 +++++++++++++++ ajax/ajax_ticket_template_task_edit.php | 62 +++++++++++++++ client_tickets.php | 54 ++++++++----- modals/task_edit_modal.php | 48 ----------- modals/ticket_assign_modal.php | 52 ------------ modals/ticket_edit_billable_modal.php | 40 ---------- modals/ticket_edit_priority_modal.php | 41 ---------- modals/ticket_reply_edit_modal.php | 2 +- post/user/task.php | 37 ++++++--- post/user/ticket.php | 2 +- ticket.php | 63 +++++++++++---- tickets_compact.php | 39 +++++---- tickets_list.php | 42 ++++++---- 19 files changed, 599 insertions(+), 291 deletions(-) create mode 100644 ajax/ajax_ticket_billable.php create mode 100644 ajax/ajax_ticket_contact.php create mode 100644 ajax/ajax_ticket_priority.php create mode 100644 ajax/ajax_ticket_reply_edit.php create mode 100644 ajax/ajax_ticket_task_edit.php create mode 100644 ajax/ajax_ticket_template_task_edit.php delete mode 100644 modals/task_edit_modal.php delete mode 100644 modals/ticket_assign_modal.php delete mode 100644 modals/ticket_edit_billable_modal.php delete mode 100644 modals/ticket_edit_priority_modal.php diff --git a/admin_ticket_template_details.php b/admin_ticket_template_details.php index 2a6d5c8c..be7b8b88 100644 --- a/admin_ticket_template_details.php +++ b/admin_ticket_template_details.php @@ -112,7 +112,11 @@ $sql_task_templates = mysqli_query($mysqli, "SELECT * FROM task_templates WHERE