From 586f0f1c5722b2af5c7a7f7cf8dda7e948be97f0 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Tue, 10 Sep 2024 23:04:12 +0100 Subject: [PATCH] Show object ID when editing items Shows the database object ID when editing on the Notes tab, to allow for use in the API. Needs further work as we move things to dynamic modals for editing. --- client_asset_edit_modal.php | 2 + client_contact_edit_modal.php | 2 + client_location_edit_modal.php | 8 +- vendor_edit_modal.php | 350 +++++++++++++++++---------------- 4 files changed, 183 insertions(+), 179 deletions(-) diff --git a/client_asset_edit_modal.php b/client_asset_edit_modal.php index 970edabb..1d009d3a 100644 --- a/client_asset_edit_modal.php +++ b/client_asset_edit_modal.php @@ -390,6 +390,8 @@ +

Asset ID:

+ diff --git a/client_contact_edit_modal.php b/client_contact_edit_modal.php index 44533ce3..e2538db8 100644 --- a/client_contact_edit_modal.php +++ b/client_contact_edit_modal.php @@ -276,6 +276,8 @@ +

Contact ID:

+ diff --git a/client_location_edit_modal.php b/client_location_edit_modal.php index 5e76eae5..7843c848 100644 --- a/client_location_edit_modal.php +++ b/client_location_edit_modal.php @@ -182,16 +182,12 @@ -
- -
-
- +
@@ -215,6 +211,8 @@
+

Location ID:

+ diff --git a/vendor_edit_modal.php b/vendor_edit_modal.php index 281c9e64..80304f76 100644 --- a/vendor_edit_modal.php +++ b/vendor_edit_modal.php @@ -1,184 +1,186 @@