Page 1 of 1
Re: Discount over price Ex VAT
Posted: 10 Mar 2009, 16:41
by Jan
Hi, this need to be customized for the PDF files
Jan
Re: Discount over price Ex VAT
Posted: 14 Jul 2009, 10:41
by tdekleuver
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
Re: Discount over price Ex VAT
Posted: 14 Jul 2009, 13:21
by Jan
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
Re: Discount over price Ex VAT
Posted: 16 Sep 2009, 19:32
by tdekleuver
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
Re: Discount over price Ex VAT
Posted: 17 Sep 2009, 15:44
by Jan
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