Jump to content

Upgraded from 1.3.1 to 1.4.3 - tax calculation wrong on PDF invoice


Recommended Posts

Hi,

I'm facing problems with updating a prestashop v1.3.1 to 1.4.3. The whole upgrade process went fine and I'm not getting any errors on the website.

However, I have noticed a weird error and I can't seem to fix it. When opening the PDF invoice I see that the tax table is showing wrong values. All prices are correct (totals, unit price, tax etc.) only the tax table is incorrect. It seems like its only retrieving the price from the last line of the products.

I have checked and all tax settings seems to be fine, also all products are set to the correct tax.

Check attached screenshot for the problem... Any idea's?

48007_3Ym8nMoVppvcm0tRJ5h1_t

Link to comment
Share on other sites

  • 6 months later...

Hi!

Well if you don´t want to upgrade your version of ps and have the same problem as Diemux, try to search in PDF.php this sentence: $amountWithoutTax += $product['priceWithoutTax'];, it´s wrong and I have commented it to fix my problem who was similar to Diemux problem. I´ve installed a version of PDF.php from other guy with some mods and it has this bug...

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...