FIX a discount is a percent, not an amount, so we use vatrate not price
This commit is contained in:
parent
2114e6ba4e
commit
fd8f89c708
@ -1471,7 +1471,7 @@ function dol_print_reduction($reduction,$langs)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$string = price($reduction).'%';
|
$string = vatrate($reduction,true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $string;
|
return $string;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user