Jump to content

Tax decimal issue


Recommended Posts

I set up a test shop using PS Version 1.2.5.0 and the Tax format was in tenths (X.X%) and hundredths (X.XX%)...

In PS Version 1.3.1.1 the Tax format is automatically put in thousandths: X.XXX%... even if you insert it as X.XX%!

How can I get PS Version 1.3.1.1 to show the Tax format in hundredths?

Thank you!

27233_WgBhcU4QGeCf2SaVJOXR_t

27234_GbX0WFKR4MkZAQVakiMb_t

Link to comment
Share on other sites

Partially solved!

In classes/PDF.php line 844, change:

$this->Cell($w[1], $lineSize, number_format($tax_rate, 3, ',', ' '), 0, 0, 'R');

to:

$this->Cell($w[1], $lineSize, number_format($tax_rate, 2, '.', ' '), 0, 0, 'R');


My invoices now show it as I wanted it! ;-)
Still showing wrong (as above) in the BackOffice...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...