From 8aada99f06594a363c903fe457a37b83684d7cb5 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 26 Feb 2025 13:46:04 -0500 Subject: [PATCH] Added Edit to asset and contact details ajax modal for quick edits, added more links to the vendor details ajax modal --- ajax/ajax_asset_details.php | 6 +++++- ajax/ajax_contact_details.php | 8 +++++++- ajax/ajax_service_details.php | 21 +++++++++++++++++++-- client_document_details.php | 7 ++++++- 4 files changed, 37 insertions(+), 5 deletions(-) diff --git a/ajax/ajax_asset_details.php b/ajax/ajax_asset_details.php index 62800d13..21ff47a2 100644 --- a/ajax/ajax_asset_details.php +++ b/ajax/ajax_asset_details.php @@ -848,7 +848,11 @@ ob_start(); diff --git a/ajax/ajax_contact_details.php b/ajax/ajax_contact_details.php index 85aed0d6..67cdeac1 100644 --- a/ajax/ajax_contact_details.php +++ b/ajax/ajax_contact_details.php @@ -846,7 +846,13 @@ ob_start(); diff --git a/ajax/ajax_service_details.php b/ajax/ajax_service_details.php index 46bf9f1a..22c9f011 100644 --- a/ajax/ajax_service_details.php +++ b/ajax/ajax_service_details.php @@ -275,7 +275,16 @@ ob_start(); @@ -379,7 +388,15 @@ ob_start(); mysqli_data_seek($sql_docs, 0); while ($row = mysqli_fetch_array($sql_docs)) { - echo "
  • $row[document_name]
  • "; + $document_id = intval($row['document_id']); + $document_name = nullable_htmlentities($row['document_name']); + echo "
  • + $document_name + +
  • "; } ?> diff --git a/client_document_details.php b/client_document_details.php index ce3d29ba..6a534232 100644 --- a/client_document_details.php +++ b/client_document_details.php @@ -340,7 +340,12 @@ $page_title = $row['document_name']; ?>
    - + + +