Hi guys!
Thanks for the great contribution, Rhea! It made my job a lot easier.
I am stuck with two problems, though, for which neither the User's Guide nor this forum yielded any results.
Due to it's size I installed CCGV(trad) over a fresh osCommerce install, btw.
Problem #1: In Germany we are required to show prices including the VAT. If I set my Gift Vouchers (which are sold without adding VAT, since there might be different VAT rates) to "Include Tax = true" and "Re-calculate Tax = none" it works fine.
For Discount coupons, though, my settings (and those are the closest I can get to what I want) of "Include Tax )
true" and "Re-calculate Tax = None" lead to following example:
Zwischensumme: 27.50EUR
Gutscheine:FeenCon: -2.75EUR
7.0% EU VAT/MwSt. incl.: 1.80EUR
Summe: 24.75EUR
While the end result is correct, the given VAT is wrong: It should be 24.75 EUR * (0.7 / 1.07) = 1.62 EUR
(when I change the settings, I can get the correct Tax, but then the total is wrong :( ).
Has anybody solved this before?
Problem #2: In the unlikely yet possible event that a customer has both a discount coupon (10% in this case) and a gift voucher, this rounding error can happen:
Zwischensumme: 57.45EUR
Gutscheine:XYZ: -5.75EUR
Gutscheine: 51.71EUR
7.0% EU VAT/MwSt. incl.: 3.76EUR
Summe: 0.01EUR
It should be:
Zwischensumme: 57.45EUR
Gutscheine:XYZ: -5.75EUR
Gutscheine: 51.70EUR
7.0% ...: 3.38EUR (That's problem #1 again)
Summe: 0.00EUR
Any idea how I can fix this rounding error?
Thanks for your patience!