From 93e45dc7c4ef6ef70ab6211668a5889a7bb4ba34 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 25 May 2022 16:09:20 -0400 Subject: [PATCH] Added Client Asset Status functionality need to work on the names --- client_asset_add_modal.php | 15 +++++++++++++++ client_asset_copy_modal.php | 14 ++++++++++++++ client_asset_edit_modal.php | 14 ++++++++++++++ client_assets.php | 3 +++ get_settings.php | 8 +++++++- post.php | 6 ++++-- 6 files changed, 57 insertions(+), 3 deletions(-) diff --git a/client_asset_add_modal.php b/client_asset_add_modal.php index 505b928b..5bc43e08 100644 --- a/client_asset_add_modal.php +++ b/client_asset_add_modal.php @@ -162,6 +162,21 @@ +
+ +
+
+ +
+ +
+
+
diff --git a/client_asset_copy_modal.php b/client_asset_copy_modal.php index b22c9269..166e0d17 100644 --- a/client_asset_copy_modal.php +++ b/client_asset_copy_modal.php @@ -160,6 +160,20 @@
+
+ +
+
+ +
+ +
+
+
diff --git a/client_asset_edit_modal.php b/client_asset_edit_modal.php index fa1e46a6..fdd4cb2e 100644 --- a/client_asset_edit_modal.php +++ b/client_asset_edit_modal.php @@ -161,6 +161,20 @@
+
+ +
+
+ +
+ +
+
+
diff --git a/client_assets.php b/client_assets.php index 6ea717c2..dddf55b3 100644 --- a/client_assets.php +++ b/client_assets.php @@ -154,6 +154,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); Assigned To Location + Status Action @@ -185,6 +186,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); $asset_ip_display = "$asset_ip"; } $asset_mac = $row['asset_mac']; + $asset_status = $row['asset_status']; $asset_purchase_date = $row['asset_purchase_date']; $asset_warranty_expire = $row['asset_warranty_expire']; $asset_install_date = $row['asset_install_date']; @@ -318,6 +320,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); +