Page 1 of 1

tax vs coupon

Posted: 11 Aug 2011, 15:34
by Pierre Corell
Hello Jan,

I do use the VM IDnR Addon for generating invoices directly in VM.
At VM I give special coupons for usergroups and quantities.
At the pdf and calculation before generating it PhocaPDF calculates the taxes before the coupon-prices. I do need the calculated tax on the final prices (before shipping). Otherwise theres a difference in invoices of VM and Phoca.
Do you have an idea how to resolve this?

Thanks in advance,
Pierre.

Re: tax vs coupon

Posted: 13 Aug 2011, 00:40
by Jan
Hi, I think, this then must be customized in the code :-(

plugins\phocapdf\virtuemart\virtuemartpdfoutput.php

Jan

Re: tax vs coupon

Posted: 13 Aug 2011, 15:28
by Pierre Corell
Thank you, Jan,

if I do a customization, I´ll tell ya but I am not sure yet. Probablly an if-else rule accordingly to VM-prefs would be the best for that to solve...
Is the called file the only one to change or are others to customize, too?

Greets, Pierre.

Re: tax vs coupon

Posted: 18 Aug 2011, 22:29
by Jan
Hi, there other files too, mostly if e.g. some "external function is called, so then you need to findt e.g. the function in other file with search feature.

Jan