Skip to content
Snippets Groups Projects
Commit 34f4e913 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #4240 from frederic34/patch-9

Fix when PRODUIT_MULTIPRICES is set, label for each level was not visible
parents 9973315a 9e6698c6
No related branches found
No related tags found
No related merge requests found
......@@ -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>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment