crater icon indicating copy to clipboard operation
crater copied to clipboard

Tax is calculated on non discounted price

Open colognation opened this issue 2 years ago • 3 comments

Describe the bug If you have an article with discount the tax (on article level) is calculated on the non discounted price. So the tax calculated will always be to high.

It looks like the values in "app/Http/Resources/Customer/InvoiceItemResource.php" class are not correct (total, base_price, base_total). This results in the wrong calculation as the discount is not observed in these variables.

Expected behavior Tax should be calculated on the correct discounted price (base_total).

Please complete the following information:

  • Crater version: 6.0.6
  • PHP version: 8.0
  • Database type and version: MySQL 8.0

colognation avatar Dec 29 '22 14:12 colognation

When will this issue be fixed? This is a huge problem, when the invoice calculates false numbers!

albertvisuals avatar Mar 01 '23 19:03 albertvisuals

Is there no response at all? In the current release the tool calculates wrong, which is a huge issue for an invoice program!

albertvisuals avatar Mar 08 '23 20:03 albertvisuals

Has crater been abandoned?

Contributolo avatar Mar 16 '23 00:03 Contributolo