Update list.php
This commit is contained in:
parent
c2dff7dfed
commit
52b47fd598
@ -216,7 +216,16 @@ $arrayfields = array(
|
|||||||
if ($conf->global->PRODUIT_MULTIPRICES){
|
if ($conf->global->PRODUIT_MULTIPRICES){
|
||||||
for ($i = 1; $i <= $conf->global->PRODUIT_MULTIPRICES_LIMIT; $i++)
|
for ($i = 1; $i <= $conf->global->PRODUIT_MULTIPRICES_LIMIT; $i++)
|
||||||
{
|
{
|
||||||
$arrayfields['p.sellprice'.$i] = array('label'=>$langs->trans("SellingPrice")." ".$i, 'checked'=>1, 'enabled'=>$conf->global->PRODUIT_MULTIPRICES, 'position'=>40);
|
$keyforlabel = 'PRODUIT_MULTIPRICES_LABEL'.$i;
|
||||||
|
if (!empty($conf->global->$keyforlabel))
|
||||||
|
{
|
||||||
|
$labelp = $i.' - '.$langs->trans($conf->global->$keyforlabel);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$labelp = $langs->trans("SellingPrice")." ".$i;
|
||||||
|
}
|
||||||
|
$arrayfields['p.sellprice'.$i] = array('label'=>$labelp, 'checked'=>1, 'enabled'=>$conf->global->PRODUIT_MULTIPRICES, 'position'=>40);
|
||||||
$arraypricelevel[$i] = array($i);
|
$arraypricelevel[$i] = array($i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user