Closed (duplicate)
Project:
Ubercart 2 VAT support
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2012 at 08:06 UTC
Updated:
29 May 2012 at 12:13 UTC
My debugging shows that in uc_vat_apply_tax, line 881, $taxable_amount already incudes VAT if user has no show prices excluding Var permission. If the user has it, $taxable_amount does not include tax, due to line 458 in uc_vat_price_handler_alter().
Can anyone comment on this?
Comments
Comment #1
vitalie commentedFurther to this, I've added the following lines in uc_vat.module, uc_vat_price_handler_alter function starting with line 461:
It looks like it solves the problem, because if we have uc_taxes_apply_item_tax among the caller functions it means we want to calculate VAT amount and thus do not need to alter the price. However, to display an altered price, we do need it.
Comment #2
alexanderpas commentedI think this is a duplicate of #1170992: double VAT