From 0474b66cdb9b4368614bd3b6e8cc21f9c03a65ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Tue, 26 Nov 2024 11:15:35 +0100 Subject: [PATCH] CMXX - Only show software to override with same version --- equipment_manage.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/equipment_manage.php b/equipment_manage.php index 05e1fa2..72dd3f7 100644 --- a/equipment_manage.php +++ b/equipment_manage.php @@ -173,8 +173,10 @@ if (isset($products_software) && $products_software !=''){ '; foreach ($products_software as $products_soft ){ - $product_software_list .= ' - '; + if ($products_soft->hw_version == $equipment['hw_version']){ + $product_software_list .= ' + '; + } } $product_software_list .= ''; }