Closed (fixed)
Project:
Ubercart 2 VAT support
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2009 at 10:54 UTC
Updated:
8 Oct 2009 at 10:50 UTC
Thanks for this great module!
I would however like to be able to display the prices inclusive of VAT in orders and on invoices too.
Specifically in the lines after "Products on order" that would be much better for customers receiving confirmation mails or invoices or reviewing their orders on the website.
How could one go about this?
Maybe by adding a new case-statement in the function uc_vat_price_handler_alter(&$price, &$context, &$options) in the VAT price alterer callback function?
I'm no genius at PHP so any help would be greatly appreciated.
Comments
Comment #1
longwaveOrder and invoice products are listed without VAT, as VAT is then shown as a separate line item. If I add VAT to products in these pages, I believe the order total will not be correct as the VAT will effectively be included twice.
I guess the VAT breakdown that is used in the cart checkout pane should also be shown on orders and invoices, and the VAT line item should be shown as "including VAT" rather than adding it to the total. I don't have time to work on this feature right now, though patches/suggestions on how to implement and display this are welcome.
Comment #2
longwaveThis should be fixed with all the order_product and line item changes in rc7.