News:

Looking for documentation? Take a look on our wiki

Main Menu

PDF Generation??? Where is it done? I need to modify it

Started by kittmaster, August 28, 2012, 00:51:24 AM

Previous topic - Next topic

kittmaster

I can't seem to figure out how the formatting of the pdf is done, the pdf files that I do find refer to "old" template format or something?

My pending emails and admin emails all look and format correctly, the PDF when order from pending to confirmed screws up my logo and other odd issues in the pdf itself.....

Where do I look to fix this?


ivus

Hi kittmaster,

The PDF is generated from the same print template.

/components/com_virtuemart/views/invoice/tmpl/invoice.php

kittmaster


seanlang1

Sorry to reopen a resolved question, but I need to know how to add images to the header bar of the PDF. I have created a fully custom template which generates insurance documents, but can't work out how i would add images to the header.

$document->setTitle('Policy Number: 1763876/CPAS/2011/'. $this->orderDetails['details']['BT']->order_number);