|
@@ -732,10 +732,12 @@ if (!empty($id) || !empty($ref)) {
|
|
|
$prodcomb->fetchCombinationPriceLevels();
|
|
|
|
|
|
for ($i = 1; $i <= $conf->global->PRODUIT_MULTIPRICES_LIMIT; $i++) {
|
|
|
+ $keyforlabel = 'PRODUIT_MULTIPRICES_LABEL'.$i;
|
|
|
+ $text = $langs->trans('ImpactOnPriceLevel', $i).' - '.getDolGlobalString($keyforlabel);
|
|
|
print '<tr>';
|
|
|
- print '<td><label for="level_price_impact_'.$i.'">'.$langs->trans('ImpactOnPriceLevel', $i).'</label>';
|
|
|
+ print '<td><label for="level_price_impact_'.$i.'">'.$text.'</label>';
|
|
|
if ($i === 1) {
|
|
|
- print ' <a id="apply-price-impact-to-all-level" class="classfortooltip" href="#" title="'.$langs->trans('ApplyToAllPriceImpactLevelHelp').'">('.$langs->trans('ApplyToAllPriceImpactLevel').')</a>';
|
|
|
+ print '<br/><a id="apply-price-impact-to-all-level" class="classfortooltip" href="#" title="'.$langs->trans('ApplyToAllPriceImpactLevelHelp').'">('.$langs->trans('ApplyToAllPriceImpactLevel').')</a>';
|
|
|
}
|
|
|
print '</td>';
|
|
|
print '<td><input type="text" class="level_price_impact" id="level_price_impact_'.$i.'" name="level_price_impact['.$i.']" value="'.price($prodcomb->combination_price_levels[$i]->variation_price).'">';
|