From bac76871c1ba0e7c4f602a4168a0bde913edfd71 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 24 Feb 2025 21:36:30 -0500 Subject: [PATCH] Added vendor UI select elements for software --- ajax/ajax_software_edit.php | 23 +++++++++++++++++++++++ modals/software_add_modal.php | 25 ++++++++++++++++++++++++- post/user/software.php | 9 ++++++--- 3 files changed, 53 insertions(+), 4 deletions(-) diff --git a/ajax/ajax_software_edit.php b/ajax/ajax_software_edit.php index d9a06b1d..6ff86d04 100644 --- a/ajax/ajax_software_edit.php +++ b/ajax/ajax_software_edit.php @@ -18,6 +18,7 @@ $software_purchase = nullable_htmlentities($row['software_purchase']); $software_expire = nullable_htmlentities($row['software_expire']); $software_notes = nullable_htmlentities($row['software_notes']); $software_created_at = nullable_htmlentities($row['software_created_at']); +$software_vendor_id = intval($row['software_vendor_id']); $client_id = intval($row['software_client_id']); $seat_count = 0; @@ -107,6 +108,28 @@ ob_start(); +
+ +
+
+ +
+ +
+
+
diff --git a/modals/software_add_modal.php b/modals/software_add_modal.php index 8dc810c2..fe44580f 100644 --- a/modals/software_add_modal.php +++ b/modals/software_add_modal.php @@ -93,6 +93,29 @@
+ +
+ +
+
+ +
+ +
+
+ +
@@ -100,7 +123,7 @@