Page 1 of 1

[how to] Adding a new page for invoice

Posted: 13 Oct 2008, 12:06
by korb
Hello again,

I was wandering if it is possible to add a new page (page 2) to the invoice like this:

-title: "DISCLAIMER"
-body text "This product is under the direct protection of Laws ............"
-ordered products:
Example
1. Product name SKU - Quantity 10 pieces
-Vendor Information

Danny

Re: [how to] Adding a new page for invoice

Posted: 13 Oct 2008, 12:57
by Jan
This can be done in these 2 files:

administrator\components\com_virtuemart\pdf\delivery.pdf.php
administrator\components\com_virtuemart\pdf\phoca.tcpdf.php

TCPDF skills are needed...


Jan

Re: [how to] Adding a new page for invoice

Posted: 13 Oct 2008, 13:43
by korb
:lol: Hei Jan,
I know what files to modify, but just a little hint: where to write page 2, how to insert information there...
Thanks for the fast answer

Re: [how to] Adding a new page for invoice

Posted: 14 Oct 2008, 13:05
by Jan
this is not so easy, new sites are automatically created by TCPDF because e.g. of a lot of products (header and footer is still the same - on every page)...

So I think (I don't know it because I haven't try it yet), there must be some method in TCPDF which will add some new page with new information at the end of the document ....