fixed trasnlation and part error

This commit is contained in:
Claudio 2026-04-03 10:01:13 +02:00
parent 70d39770f8
commit 434645382b
2 changed files with 8 additions and 8 deletions

View File

@ -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');

View File

@ -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'];
?>
<option value="<?php echo $row['idmodelarticle']; ?>" <?php if (!(strcmp($row['idmodelarticle'], ($trfnumberfinal->getColumnVal("model"))))) {
echo "selected=\"selected\"";
} ?>><?php echo $row['namemodelarticle']; ?></option>
} ?>>
<?php echo $modelName; ?>
</option>
<?php
}