From d04e7f6a57a43ea6f2711dcded9acf6267cf72e8 Mon Sep 17 00:00:00 2001 From: solocla Date: Thu, 30 Apr 2026 14:53:48 +0200 Subject: [PATCH] added completo induments --- public/identificationparts.php | 4 ++-- public/include/maparticleinduments.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/identificationparts.php b/public/identificationparts.php index 4c8d320..0febdd3 100644 --- a/public/identificationparts.php +++ b/public/identificationparts.php @@ -719,11 +719,11 @@ $partids[] = '0'; // t-shirt hivis $mandatoryParts = array('FM', 'RM'); $totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 'FM', 'RM'); - } elseif ($idarticletype == '4' && $modelidart == '19' && $hivis == 'N') { + } elseif ($idarticletype == '4' && in_array((string)$modelidart, ['19', '22'], true) && $hivis == 'N') { // tuta $mandatoryParts = array(1, 8); $totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 8, 9); - } elseif ($idarticletype == '4' && $modelidart == '19' && $hivis == 'Y') { + } elseif ($idarticletype == '4' && in_array((string)$modelidart, ['19', '22'], true) && $hivis == 'Y') { // tuta hivis $mandatoryParts = array('FM', 'RM'); $totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 'FM', 'RM'); diff --git a/public/include/maparticleinduments.php b/public/include/maparticleinduments.php index 1c39306..00773ea 100644 --- a/public/include/maparticleinduments.php +++ b/public/include/maparticleinduments.php @@ -1260,7 +1260,7 @@ if ($idarticletype == "4" && $modelidart == 18 && $hivis == 'Y') { ?> +if ($idarticletype == "4" && in_array((string)$modelidart, ['19', '22'], true) && $hivis == 'N') { ?>
@@ -1439,7 +1439,7 @@ if ($idarticletype == "4" && $modelidart == 19 && $hivis == 'N') { ?> +if ($idarticletype == "4" && in_array((string)$modelidart, ['19', '22'], true) && $hivis == 'Y') { ?>