CMXX - Updated configuration on external_sn handling

This commit is contained in:
“VeLiTi”
2024-12-16 14:10:04 +01:00
parent b20d9f5e66
commit b96745c12e

View File

@@ -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