From 8be0789f25f7f02c8178b74a84c469fa53d59c20 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 6 Nov 2025 20:36:30 -0500 Subject: [PATCH] Converted even more bulk modals to the new ajax-modal --- agent/assets.php | 35 +- agent/credentials.php | 8 +- agent/documents.php | 8 +- agent/files.php | 8 +- agent/invoices.php | 14 +- agent/locations.php | 8 +- agent/modals/asset/asset_bulk_add_ticket.php | 267 ++++++++-------- .../asset/asset_bulk_assign_contact.php | 80 +++-- .../asset/asset_bulk_assign_location.php | 81 +++-- .../asset_bulk_assign_physical_location.php | 62 ++-- agent/modals/asset/asset_bulk_edit_status.php | 73 +++-- .../asset/asset_bulk_transfer_client.php | 100 +++--- .../credential_bulk_assign_tags.php | 104 +++--- agent/modals/document/document_bulk_move.php | 172 +++++----- agent/modals/file/file_bulk_move.php | 172 +++++----- .../invoice/invoice_bulk_edit_category.php | 83 +++-- .../location/location_bulk_assign_tags.php | 92 +++--- agent/modals/payment/payment_bulk_add.php | 301 ++++++++++-------- .../project/project_link_closed_ticket.php | 94 +++--- agent/modals/project/project_link_ticket.php | 106 +++--- .../recurring_ticket_bulk_agent_edit.php | 91 +++--- .../recurring_ticket_bulk_billable_edit.php | 61 ++-- .../recurring_ticket_bulk_category_edit.php | 82 +++-- .../recurring_ticket_bulk_next_run_edit.php | 67 ++-- .../recurring_ticket_bulk_priority_edit.php | 75 +++-- .../modals/ticket/ticket_bulk_add_project.php | 94 +++--- agent/modals/ticket/ticket_bulk_assign.php | 92 +++--- .../ticket/ticket_bulk_edit_category.php | 84 +++-- .../ticket/ticket_bulk_edit_priority.php | 75 +++-- agent/modals/ticket/ticket_bulk_merge.php | 130 ++++---- agent/modals/ticket/ticket_bulk_reply.php | 111 ++++--- agent/modals/ticket/ticket_bulk_resolve.php | 76 +++-- agent/project_details.php | 73 +++-- agent/recurring_tickets.php | 29 +- agent/ticket_list.php | 8 - agent/tickets.php | 38 ++- 36 files changed, 1724 insertions(+), 1330 deletions(-) diff --git a/agent/assets.php b/agent/assets.php index c9e10443..c03d4eb4 100644 --- a/agent/assets.php +++ b/agent/assets.php @@ -303,27 +303,40 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - - - - - diff --git a/agent/credentials.php b/agent/credentials.php index a26820aa..82777be5 100644 --- a/agent/credentials.php +++ b/agent/credentials.php @@ -241,7 +241,9 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); Delete - + Assign Tags @@ -519,10 +521,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - - + diff --git a/agent/documents.php b/agent/documents.php index dd8b9355..3a4050f4 100644 --- a/agent/documents.php +++ b/agent/documents.php @@ -130,7 +130,9 @@ while ($folder_id > 0) { Bulk Action (0) - - + diff --git a/agent/files.php b/agent/files.php index 9bf77b44..2a6de5d9 100644 --- a/agent/files.php +++ b/agent/files.php @@ -257,7 +257,9 @@ while ($folder_id > 0) { Bulk Action (0) - - + diff --git a/agent/invoices.php b/agent/invoices.php index 128544b9..b547b47d 100644 --- a/agent/invoices.php +++ b/agent/invoices.php @@ -218,12 +218,15 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); @@ -246,7 +249,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
-
+
@@ -437,16 +440,13 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
-
- + Bulk Action (0) - - + diff --git a/agent/modals/asset/asset_bulk_add_ticket.php b/agent/modals/asset/asset_bulk_add_ticket.php index aa4b7042..876b725d 100644 --- a/agent/modals/asset/asset_bulk_add_ticket.php +++ b/agent/modals/asset/asset_bulk_add_ticket.php @@ -1,134 +1,147 @@ - + + +
+ + + + + + +
+ + -