mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
FIX a discount is a percent, not an amount, so we use vatrate not price
This commit is contained in:
@@ -1471,7 +1471,7 @@ function dol_print_reduction($reduction,$langs)
|
||||
}
|
||||
else
|
||||
{
|
||||
$string = price($reduction).'%';
|
||||
$string = vatrate($reduction,true);
|
||||
}
|
||||
|
||||
return $string;
|
||||
|
||||
Reference in New Issue
Block a user