Merge pull request #4240 from frederic34/patch-9
Fix when PRODUIT_MULTIPRICES is set, label for each level was not visible
This commit is contained in:
commit
34f4e913d4
@ -105,7 +105,10 @@ if ($_socid > 0)
|
|||||||
print '<option value="'.$i.'"' ;
|
print '<option value="'.$i.'"' ;
|
||||||
if($i == $objsoc->price_level)
|
if($i == $objsoc->price_level)
|
||||||
print 'selected';
|
print 'selected';
|
||||||
print '>'.$i.'</option>';
|
print '>'.$i;
|
||||||
|
$keyforlabel='PRODUIT_MULTIPRICES_LABEL'.$i;
|
||||||
|
if (! empty($conf->global->$keyforlabel)) print ' - '.$langs->trans($conf->global->$keyforlabel);
|
||||||
|
print '</option>';
|
||||||
}
|
}
|
||||||
print '</select>';
|
print '</select>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user