- Posts: 15
- Thank you received: 0
PDF invoice background
- E-volve.nl
- Topic Author
- Offline
- New Member
-
Less
More
7 years 2 months ago #112551
by E-volve.nl
PDF invoice background was created by E-volve.nl
Hi,
How can i style the PDF invoice?
I want to add a background image (stationery) and place fields etc. in the right places.
Regards, Kai
How can i style the PDF invoice?
I want to add a background image (stationery) and place fields etc. in the right places.
Regards, Kai
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
7 years 1 month ago #112762
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic PDF invoice background
Dear Kai,
You can do that by going to EShop -> System -> Message, then click on Invoice Layout to edit it as the way that you want.
Sincerely, Giang
You can do that by going to EShop -> System -> Message, then click on Invoice Layout to edit it as the way that you want.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- E-volve.nl
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
7 years 1 month ago #113278
by E-volve.nl
Replied by E-volve.nl on topic PDF invoice background
Hi Giang,
Thanks, i could style alot within the invoice layout AND Default invoice php template file.
But i would like to add a full page (A4) background image, how can i do this?
Thanks, i could style alot within the invoice layout AND Default invoice php template file.
But i would like to add a full page (A4) background image, how can i do this?
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
7 years 1 month ago #113513
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic PDF invoice background
Hello,
I am not sure about that. Please try to edit the invoice layout to insert your back-ground image there if it works as your expect or not.
Sincerely, Giang
I am not sure about that. Please try to edit the invoice layout to insert your back-ground image there if it works as your expect or not.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- E-volve.nl
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
7 years 1 month ago #113851
by E-volve.nl
Replied by E-volve.nl on topic PDF invoice background
Well, that doesn't work. Tried it.
Which file is used t generate the PDF? I see it's the TCPDF library, but which file can i edit to manually add a background or footer?
Regards, Kai
Which file is used t generate the PDF? I see it's the TCPDF library, but which file can i edit to manually add a background or footer?
Regards, Kai
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
7 years 1 month ago #113885
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic PDF invoice background
Hell Kai,
Yes, we use TCPDF library for generating PDF from our extension. I think in this case you should take some googe search about how to add background for PDF file use TCPDF.
It maybe requires some hack or modification I think.
Sincerely, Giang
Yes, we use TCPDF library for generating PDF from our extension. I think in this case you should take some googe search about how to add background for PDF file use TCPDF.
It maybe requires some hack or modification I think.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- E-volve.nl
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
7 years 1 month ago #113887
by E-volve.nl
Replied by E-volve.nl on topic PDF invoice background
Hi Giang,
I know how to add a background in TCPDF, i only can't find the file eshop is using to generate te PDF invoice.
Could u tell me which file contains the parameters which generate the pdf invoice?
Regards, Kai
I know how to add a background in TCPDF, i only can't find the file eshop is using to generate te PDF invoice.
Could u tell me which file contains the parameters which generate the pdf invoice?
Regards, Kai
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
7 years 1 month ago #113888
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic PDF invoice background
Hello Kai,
Please look at the file components/com_eshop/helpers/helper.php, then check the function:
public static function generateInvoicePDF($cid)
Hope that this is useful.
Sincerely, Giang
Please look at the file components/com_eshop/helpers/helper.php, then check the function:
public static function generateInvoicePDF($cid)
Hope that this is useful.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.