Merge pull request #15442 from hregis/develop_bug2
FIX to preserve order of multiprices fields
This commit is contained in:
commit
6976471988
@ -237,7 +237,7 @@ if ($conf->global->PRODUIT_MULTIPRICES) {
|
||||
} else {
|
||||
$labelp = $langs->trans("SellingPrice")." ".$i;
|
||||
}
|
||||
$arrayfields['p.sellprice'.$i] = array('label'=>$labelp, 'checked'=>1, 'enabled'=>$conf->global->PRODUIT_MULTIPRICES, 'position'=>40);
|
||||
$arrayfields['p.sellprice'.$i] = array('label'=>$labelp, 'checked'=>1, 'enabled'=>$conf->global->PRODUIT_MULTIPRICES, 'position'=>floatval('40.'.sprintf('%03s', $i)));
|
||||
$arraypricelevel[$i] = array($i);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user