tax vs coupon

Phoca PDF - creating PDF documents in Joomla! CMS
Pierre Corell
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 04 Oct 2009, 23:56
Location: Germany
Contact:

tax vs coupon

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: tax vs coupon

Post by Jan »

Hi, I think, this then must be customized in the code :-(

plugins\phocapdf\virtuemart\virtuemartpdfoutput.php

Jan
If you find Phoca extensions useful, please support the project
Pierre Corell
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 04 Oct 2009, 23:56
Location: Germany
Contact:

Re: tax vs coupon

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: tax vs coupon

Post 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
If you find Phoca extensions useful, please support the project
Post Reply