Jump to content

Custom PDF Invoices - header and footer tpl


Go to solution Solved by WHMCS John,

Recommended Posts

  • Administrators
  • Solution

Hi @pRieStaKos,

Yes this is fully functional in v8.13.

For example the attached invoicepdffooter.tpl will add "Footer text" to the bottom the Invoice PDF page. 

Check the TCPDF Documentation to ensure you're using valid syntax. The examples section is particularly helpful: https://tcpdf.org/examples/

 

Screenshot 2025-06-14 at 15.14.56.png

invoicepdffooter.tpl

Link to comment
Share on other sites

  • 2 months later...

Hi guys,

I have the following case, I'm applying the invoicepdffooter.tpl and quotepdffooter.tpl, the content is shown on both Invoice and Quote generated PDF, but in case the PDF contain multiple lines (services) then the footer is over the invoice/quote services, like in the screenshot below.

48353.png.842dcb39395fb6a54038da0cd9336609.png

 

Is there any chance I could have a restriction in place for the invoicepdf.tpl and quotepdf.tpl as soon as it reaches the footer area to create a second page?

 

thanks,
Alex

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated