FIX #7473 Mass update of vat rates and other bugs on localtax

This commit is contained in:
Laurent Destailleur
2017-09-25 21:41:53 +02:00
parent c5287e68b1
commit 59571b1ce1
6 changed files with 215 additions and 48 deletions

View File

@@ -3711,7 +3711,7 @@ function vatrate($rate, $addpercent=false, $info_bits=0, $usestarfornpr=0)
if (! preg_match('/\//', $rate)) $ret=price($rate,0,'',0,0).($addpercent?'%':'');
else
{
// TODO Split on / and output with a price2num to have clean numbers with ton of 000.
// TODO Split on / and output with a price2num to have clean numbers without ton of 000.
$ret=$rate.($addpercent?'%':'');
}
if ($info_bits & 1) $ret.=' *';