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:
Laurent Destailleur 2015-12-16 19:58:48 +01:00
commit 34f4e913d4

View File

@ -105,7 +105,10 @@ if ($_socid > 0)
print '<option value="'.$i.'"' ;
if($i == $objsoc->price_level)
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 '</td></tr>';