News:

Looking for documentation? Take a look on our wiki

Main Menu

Change the header of PDF invoice

Started by sandum150, June 12, 2013, 10:49:34 AM

Previous topic - Next topic

sandum150

Hello everybody!
I'm trying to modify the /views/invoice/tmpl/invoice.php, but there are no changes in the top of PDF file.
Can anybody give me a hint where is the right code i should change?

Milbo

You must use the latest version, atm 2.0.21D, there you can style this.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lorartemis

Hi Milbo, I take it as a non stable release, it's not for a live site?
Thanks
Loraine

sandum150

Quote from: Milbo on June 12, 2013, 12:54:05 PM
You must use the latest version, atm 2.0.21D, there you can style this.

Now I have the 2.0.22 but still couldn't make changes. In which file(s) I can do that?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sandum150

Joomla 2.5.11
Virtuemart 2.0.22 (just updated from 2.0.20b)
php 5.4.4

Maxim Pishnyak

Sandum, did you found what you want in the VM backend?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

sandum150

#7
Waw! It's Great! Thank You
but i need to insert in the invoice a dynamic image, like a barcode, or QRcode. How could it be possible?
Also, is there a way to add another UTF-8 font?

Maxim Pishnyak

You able to use template overrides (check related sticked thread) for invoices, using as example contest of this folder
com_virtuemart\components\com_virtuemart\views\invoice\

About font issue use search on this forum - forum members resolved this.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

rockycox1989

Quote from: sandum150 on July 19, 2013, 10:11:35 AM
Waw! It's Great! Thank You
but i need to insert in the PDF invoice a dynamic image, like a barcode, or QRcode. How could it be possible?
Also, is there a way to add another UTF-8 font?

;D, I am too lazy to try each suggested advice. So how does Maxim's solution work? Have you successfully insert an dynamic image into PDF header. By the way, how to make barcode image dynamic? All the barcode images that I met are just combination of white & black bars.

micagordon

Quote from: sandum150 on July 19, 2013, 10:11:35 AM
Waw! It's Great! Thank You
but i need to insert in the invoice a dynamic image, like a barcode, or QRcode. How could it be possible?
Also, is there a way to add another UTF-8 font?
Did you find the way of insert bar code images in the invoice?

jenkinhill

@micagordon a problem with adding to an old thread is that many of those who took part are no longer forum users and VM will be very different from the version they were using.  Once they solve their problem they don't come back. So I suggest that you start a new thread with your issue.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

micagordon

Quote from: jenkinhill on February 15, 2015, 12:27:49 PM
@micagordon a problem with adding to an old thread is that many of those who took part are no longer forum users and VM will be very different from the version they were using.  Once they solve their problem they don't come back. So I suggest that you start a new thread with your issue.
I've found the resolution. :)
But thanks still.