From 434645382b744c9e2df9b2acea43807fe6b7530b Mon Sep 17 00:00:00 2001 From: solocla Date: Fri, 3 Apr 2026 10:01:13 +0200 Subject: [PATCH] fixed trasnlation and part error --- public/identificationparts.php | 4 ++-- public/trfdetails.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/public/identificationparts.php b/public/identificationparts.php index cbc88f1..4c8d320 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 == '18' && $hivis == 'N') { + } elseif ($idarticletype == '4' && $modelidart == '19' && $hivis == 'N') { // tuta $mandatoryParts = array(1, 8); $totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 8, 9); - } elseif ($idarticletype == '4' && $modelidart == '18' && $hivis == 'Y') { + } elseif ($idarticletype == '4' && $modelidart == '19' && $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/trfdetails.php b/public/trfdetails.php index 54144de..276c69c 100644 --- a/public/trfdetails.php +++ b/public/trfdetails.php @@ -604,15 +604,15 @@ include('include/trfqueryscript.php'); ?> if (!empty($modelrows)) { foreach ($modelrows as $row) { - - // echo $row['idmodelarticle']; - - // echo $trfnumberfinal->getColumnVal("model"); - + $modelName = ($_SESSION['langselect'] == 'it') + ? $row['namemodelarticle'] + : $row['namemodelarticle_eng']; ?> + } ?>> + +