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.
tax vs coupon
-
- Phoca Newbie
- Posts: 3
- Joined: 04 Oct 2009, 23:56
- Location: Germany
- Contact:
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: tax vs coupon
Hi, I think, this then must be customized in the code
plugins\phocapdf\virtuemart\virtuemartpdfoutput.php
Jan
plugins\phocapdf\virtuemart\virtuemartpdfoutput.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 04 Oct 2009, 23:56
- Location: Germany
- Contact:
Re: tax vs coupon
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: tax vs coupon
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
Jan
If you find Phoca extensions useful, please support the project