FIX a discount is a percent, not an amount, so we use vatrate not price

This commit is contained in:
Laurent Destailleur
2018-02-04 11:13:47 +01:00
parent 2114e6ba4e
commit fd8f89c708

View File

@@ -1471,7 +1471,7 @@ function dol_print_reduction($reduction,$langs)
}
else
{
$string = price($reduction).'%';
$string = vatrate($reduction,true);
}
return $string;