From 41f9a2e6e24f5a0e03d2844896ce8ed1a00bafe7 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 3 Nov 2025 14:06:44 -0500 Subject: [PATCH] Migrated add revenue, trip, quote, invoice, recurring invoice, product, document, folder, file, project, and asset interface over to the new ajax-modal --- agent/accounts.php | 4 +- agent/asset_details.php | 10 +- agent/contact_details.php | 8 +- agent/documents.php | 6 +- agent/expenses.php | 3 +- agent/files.php | 7 +- agent/invoices.php | 3 +- agent/modals/account/account_add.php | 122 ++--- agent/modals/asset/asset_interface_add.php | 435 ++++++++-------- agent/modals/document/document_add.php | 117 ++--- agent/modals/expense/expense_add.php | 392 +++++++-------- agent/modals/file/file_upload.php | 113 +++-- agent/modals/folder/folder_add.php | 71 +-- agent/modals/folder/folder_rename.php | 1 - agent/modals/invoice/invoice_add.php | 200 ++++---- agent/modals/quote/quote_add.php | 198 ++++---- .../recurring_expense_add.php | 466 +++++++++--------- .../recurring_invoice_add.php | 228 ++++----- agent/modals/revenue/revenue_add.php | 320 ++++++------ agent/modals/transfer/transfer_add.php | 352 ++++++------- agent/modals/trip/trip_add.php | 285 +++++------ agent/quotes.php | 4 +- agent/recurring_expenses.php | 5 +- agent/recurring_invoices.php | 4 +- agent/revenues.php | 4 +- agent/transfers.php | 5 +- agent/trips.php | 3 +- 27 files changed, 1705 insertions(+), 1661 deletions(-) diff --git a/agent/accounts.php b/agent/accounts.php index bac7010b..56b62356 100644 --- a/agent/accounts.php +++ b/agent/accounts.php @@ -25,7 +25,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));

Accounts

- +
@@ -123,6 +123,4 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
New Credential - + New Document - + Upload file(s) @@ -419,7 +419,7 @@ if (isset($_GET['asset_id'])) {

Interfaces

- @@ -1220,13 +1220,9 @@ if (isset($_GET['asset_id'])) { New Credential - + New Document - + Upload file(s) @@ -1179,8 +1179,4 @@ if (isset($_GET['contact_id'])) { 0) {
-
@@ -479,6 +478,5 @@ while ($folder_id > 0) { Expenses
- +