From b96745c12e4482818b5b03dce4d0a9a5e55f8f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Mon, 16 Dec 2024 14:10:04 +0100 Subject: [PATCH] CMXX - Updated configuration on external_sn handling --- api/v0/post/application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v0/post/application.php b/api/v0/post/application.php index ffc5840..ff0ed19 100644 --- a/api/v0/post/application.php +++ b/api/v0/post/application.php @@ -85,7 +85,7 @@ if (!empty($post_content['sn']) && !empty($post_content['testdetails'])) { $historytype = ${'HistoryType_'.$input_type}; $equipmentCreate = 1; $equipmentUpdate = 1; - $servicetoolHistoryUpdate = 1; + $servicetoolHistoryUpdate = 0; break; case 3: //Serialnumber @@ -102,7 +102,7 @@ if (!empty($post_content['sn']) && !empty($post_content['testdetails'])) { case 5://Maintenance_Test $historytype = ${'HistoryType_'.$input_type}; $equipmentUpdate = 0; - $servicetoolHistoryUpdate = 1; + $servicetoolHistoryUpdate = 0; break; case 6://Assembly_Test