Hi, this need to be customized for the PDF files
Jan
Discount over price Ex VAT
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Discount over price Ex VAT
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 14 Jul 2009, 10:34
Re: Discount over price Ex VAT
Hello Jan,
I've got the same situation with the discount showing on the pdf invoice.
When using discount coupon, the system must calculate the final price as follow:
- Price Ex VAT
- Discount (over the amount ex vat)
- vat (over the price minus the discount)
- Total
My VM is configured to have the discount before vat is calculated......
Can you please give me advise and help to solve this problem?
Kind regards,
Ton
I've got the same situation with the discount showing on the pdf invoice.
When using discount coupon, the system must calculate the final price as follow:
- Price Ex VAT
- Discount (over the amount ex vat)
- vat (over the price minus the discount)
- Total
My VM is configured to have the discount before vat is calculated......
Can you please give me advise and help to solve this problem?
Kind regards,
Ton
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Discount over price Ex VAT
Hi, see these files, you can change the calculation there:
administrator/components/com_virtuemart/pdf/delivery.pdf.php
administrator/components/com_virtuemart/pdf/phoca.tcpdf.php
Jan
administrator/components/com_virtuemart/pdf/delivery.pdf.php
administrator/components/com_virtuemart/pdf/phoca.tcpdf.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 14 Jul 2009, 10:34
Re: Discount over price Ex VAT
Hello Jan,
I have tried so many times to change this in the files you redirect to. But I can't get it work.
Could you be more specified, which lines in the .php files I have to modified, and how.
Maybe you can mail me the right code-lines. please e-mail to: webdesign @ dkgs.nl
I'm now not able to print the right invoices because a wrong calculation of the VAT.
Kind Regards,
Ton
I have tried so many times to change this in the files you redirect to. But I can't get it work.
Could you be more specified, which lines in the .php files I have to modified, and how.
Maybe you can mail me the right code-lines. please e-mail to: webdesign @ dkgs.nl
I'm now not able to print the right invoices because a wrong calculation of the VAT.
Kind Regards,
Ton
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Discount over price Ex VAT
Hi, the problem is, I didn't do such changes, so in fact I don't know what all should be changed in the files These files are files which display the pdf, but what exactly should be changed there, I really don't know
If you find Phoca extensions useful, please support the project