News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart PDF Invoice

Started by Srinivas G, August 31, 2013, 09:52:18 AM

Previous topic - Next topic

Srinivas G

Hi All,

I am using Joomla 2.5.9 & Virtuemart 2.0.22.

I am facing small problem in PDF invoice.

We want to change the layout of the invoice generated by the virtuemart system. We have changed the below files.

For Order display info - components/com_virtuemart/views/invoice/tmpl/invoice_order.php
For Items Display       - components/com_virtuemart/views/invoice/tmpl/invoice_items.php
For Layout Purpose - components/com_virtuemart/views/invoice/tmpl/invoice.php

The changes what ever here we have done is reflecting in Print view & in PDF invoice. But the problem is PDF invoice layout is not affecting , why because it's not taking the css here we are mentioned in that files.

For reference here i have attached 2 screenshots, please find the attachments.

So, how to solve this issue?????

Any help would be greatly appreciated.

Thanks,
Srinivas

[attachment cleanup by admin]

reinhold

The reason is that the TCPDF library that is used to create the PDF from the html code does NOT support full CSS. It has implemented basic support for many CSS tags, but in particular the layout elements are NOT supported by TCPDF.
All you can do is change the layout to a table in the HTML.

Reinhold