[Vtigercrm-developers] Help for customization of Quote pdf

Vikas Jain vikas at vtiger.com
Tue Oct 26 05:17:27 PDT 2010

Hi Vishwambhar,

The link you have shared with us is for customizing older pdf's.
Click here <http://wiki.vtiger.com/index.php/vtiger520:PDF_Library> for the
documentation of the newer pdf.

For the footer to appear in all the pages we have an API onEveryPage() .
Just include the below piece of code in Vtiger_InvoicePDFController class
which is present in your InvoicePDFController.php file in modules/Invoices

function getFooterViewer() {
        $footerViewer = new Vtiger_PDF_InventoryFooterViewer();

>         $footerViewer->setModel($this->buildFooterModel());
>         $footerViewer->setLabelModel($this->buildFooterLabelModel());
>         $footerViewer->onEveryPage();
>         return $footerViewer;
>     }

On 26 October 2010 16:07, Vishwambhar Mishra <vishwa at labhsoftware.com>wrote:

> Dear sir/mam,
>                 Pls. see the below pdf file which is generated from vtiger.
> In this file i need terms and condition on bottom of the same page.
>                 Pls help in that issue.
> --
> Thanks and Regards,
> For Labh Software Pvt. Ltd.
> Vishwambhar Mishra
> Phone no.- 022-28484411
> vishwa at labhsoftware.com <Email%3A-vishwa at labhsoftware.com>
> _______________________________________________
> http://www.vtiger.com/

Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20101026/94cd9870/attachment-0002.html 

More information about the vtigercrm-developers mailing list