From 53178b8d20fa360c9f0df2a54ba0b3323bfd3e93 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 27 Nov 2025 12:48:59 -0500 Subject: [PATCH] Updated bulk action js to pass the checkboxe names into the get array this allows the use of multiple checkbox name arrays to be passed at once instead of just selected_ids had to update each bulk model from selected_ids to to the array that was passed. This was important so we could mix files and documents together --- agent/expenses.php | 12 +- agent/files.php | 15 +- agent/locations.php | 6 +- agent/modals/asset/asset_bulk_add_ticket.php | 8 +- .../asset/asset_bulk_assign_contact.php | 6 +- .../asset/asset_bulk_assign_location.php | 6 +- .../asset_bulk_assign_physical_location.php | 6 +- agent/modals/asset/asset_bulk_assign_tags.php | 6 +- agent/modals/asset/asset_bulk_edit_status.php | 6 +- .../asset/asset_bulk_transfer_client.php | 8 +- .../modals/client/client_bulk_add_ticket.php | 8 +- .../modals/client/client_bulk_assign_tags.php | 8 +- .../client/client_bulk_edit_hourly_rate.php | 6 +- .../client/client_bulk_edit_industry.php | 6 +- .../client/client_bulk_edit_referral.php | 8 +- agent/modals/client/client_bulk_email.php | 6 +- .../contact/contact_bulk_assign_location.php | 6 +- .../contact/contact_bulk_assign_tags.php | 6 +- .../contact/contact_bulk_edit_department.php | 6 +- .../contact/contact_bulk_edit_phone.php | 6 +- .../modals/contact/contact_bulk_edit_role.php | 6 +- agent/modals/contact/contact_bulk_email.php | 6 +- .../credential_bulk_assign_tags.php | 8 +- agent/modals/expense/expense_bulk_delete.php | 6 +- .../expense/expense_bulk_edit_account.php | 6 +- .../expense/expense_bulk_edit_category.php | 8 +- .../expense/expense_bulk_edit_client.php | 8 +- agent/modals/file/file_bulk_move.php | 153 +++++++++------ .../invoice/invoice_bulk_edit_category.php | 6 +- .../location/location_bulk_assign_tags.php | 6 +- .../recurring_ticket_bulk_agent_edit.php | 8 +- .../recurring_ticket_bulk_billable_edit.php | 8 +- .../recurring_ticket_bulk_category_edit.php | 6 +- .../recurring_ticket_bulk_next_run_edit.php | 8 +- .../recurring_ticket_bulk_priority_edit.php | 6 +- .../modals/ticket/ticket_bulk_add_project.php | 10 +- agent/modals/ticket/ticket_bulk_assign.php | 8 +- .../ticket/ticket_bulk_edit_category.php | 6 +- .../ticket/ticket_bulk_edit_priority.php | 10 +- agent/modals/ticket/ticket_bulk_merge.php | 6 +- agent/modals/ticket/ticket_bulk_reply.php | 6 +- agent/modals/ticket/ticket_bulk_resolve.php | 6 +- agent/post/file.php | 128 +++++++++--- js/ajax_modal.js | 31 +-- js/bulk_actions.js | 182 +++++++++--------- 45 files changed, 431 insertions(+), 356 deletions(-) diff --git a/agent/expenses.php b/agent/expenses.php index 52b30dc5..1bd2f3e4 100644 --- a/agent/expenses.php +++ b/agent/expenses.php @@ -94,26 +94,26 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); Bulk Action (0)