Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

How to change invoice look and feel layout/pdf
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: How to change invoice look and feel layout/pdf

How to change invoice look and feel layout/pdf 13 years, 4 months ago #23285

Hello,

I would like to change the look and feel of the invoice layout/pdf

I've attached an example of how want it to look like.
example-invoice.jpg


in which php file can I alter it?

I want the tax to be calculated at the end after subtotal
subtotal should only be once but it appears 2 times on the invoice, same as the tax.
Shipping cost is being considered as a product, but it also should appear at the end after the subtotal.

I only need to know the php file where I can change all this if I may!

Thanks
Presz
The topic has been locked.

Re: How to change invoice look and feel layout/pdf 13 years, 4 months ago #23324

  • jaku
Hello,

the file that needs to be adjusted for the appearance change is in administration part:
helpers/invoicehtml.php.

You just need to reorder the generated lines and possible add some colors, etc. to match it with your desired invoice lookout. Maybe the background image will be a small challenge, I am not sure if the TCPDF supports that.
The topic has been locked.

Re: How to change invoice look and feel layout/pdf 13 years, 2 months ago #24082

Hello,

@ Presz,

do u found a solution for the background image?
If yes it would be grad if u can share it with me....



@ Jan

one question, how can i change the size of the cell in which vm invoice print the amount of a single product. in the invoicehtml.php i fount the size of 5% for this part but it change nothing if i change the value... do u have any idea?

Thanks
Jewanda
Last Edit: 13 years, 2 months ago by Verlag Gabriels Stunde.
The topic has been locked.

Re: How to change invoice look and feel layout/pdf 13 years, 2 months ago #24083

  • jaku
Hello,

you need to make sure that the sum of all columns gives 100%. So if you need to make it wider, you need to make another cell more narrow.
Then it should work fine.

ad background image) it is possible, but not easy, please, refer to
www.tcpdf.org/examples/example_051.phps
The topic has been locked.

Re: How to change invoice look and feel layout/pdf 13 years, 2 months ago #24099

Thanks now it is working i fount the part for the other cells...

Jewanda
The topic has been locked.
  • Page:
  • 1
User Login Empty