Total amount incorrect on TAX rates overview

  • Posts: 504
  • Thank you received: 17
  • Hikashop Multisite
1 month 2 weeks ago #335400

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.10.1
-- PHP version -- : 7.x

Hi Support,

See the TAX rates overview for July, there is only one order with 9% VAT.
But when you look at the order you see difference in the order and in the TAX rates overview.

Is this a bug?

We have this same issue with all 21% VAT rates.

Screenshot



Hope you can take a look

Kind reagrds,
Lumiga


Kind regards,
Lumiga
Attachments:
Last edit: 2 weeks 4 days ago by Lumiga.

Please Log in or Create an account to join the conversation.

  • Posts: 504
  • Thank you received: 17
  • Hikashop Multisite
1 month 2 weeks ago #335407

Same issue with 21%


Kind regards,
Lumiga
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 504
  • Thank you received: 17
  • Hikashop Multisite
1 month 6 days ago #335570

Is there anything else I can help with?
Do you need any additional information?
Please let me know if you are working on this.


Kind regards,
Lumiga

Please Log in or Create an account to join the conversation.

  • Posts: 504
  • Thank you received: 17
  • Hikashop Multisite
3 weeks 4 days ago #335861

When do you plan to watch this?
It's very important to us.


Kind regards,
Lumiga

Please Log in or Create an account to join the conversation.

  • Posts: 73880
  • Thank you received: 11330
  • MODERATOR
3 weeks 3 days ago #335869

Hi,

Sorry for the delay.
I've looked at the issue.
I think that this is a side effect of the code modification I made to better handle orders with 0% taxes.
One of the changes I had made for that was to add the code:

if(isset($tax->amount))
									$order->order_tax_info[$tax->tax_namekey]->amount += $tax->amount;
in the file administrator/components/com_hikashop/classes/order.php
This lead to the tax amount containing twice the shipping fee when the order didn't had a 0% tax.
I propose to change that code to:
if(isset($tax->amount) && empty($order->order_tax_info[$tax->tax_namekey]->amount))
									$order->order_tax_info[$tax->tax_namekey]->amount = $tax->amount;
That way, it will only set the amount from the shipping if there isn't already an amount. That should hopefully fix the issue for newer orders going forward.
Could you try this out ?

Please Log in or Create an account to join the conversation.

  • Posts: 504
  • Thank you received: 17
  • Hikashop Multisite
3 weeks 2 days ago #335895

Hi Nicolas,

I think issue is still not solved.
See screenshot with an order before and a new order after code change.





Kind regards.
Lumiga


Kind regards,
Lumiga
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 504
  • Thank you received: 17
  • Hikashop Multisite
2 weeks 5 days ago #335951

Would be nice if we can fix this before the end of September due to tax return.


Kind regards,
Lumiga

Please Log in or Create an account to join the conversation.

  • Posts: 504
  • Thank you received: 17
  • Hikashop Multisite
1 week 5 days ago #336083

Hi Nicolas, could you look into this shortly please, this issue has been going on for more than 3 months and I still have to prepare the tax return for customers because it is not correct in Hikashop yet.


Kind regards,
Lumiga

Please Log in or Create an account to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum