Jump to content

PDF Invoice: 2 versions - default and print on letterhead


jmcdog

Recommended Posts

I'm looking to be able to print batch pdf invoices on letterhead. I want the normal operation to function which uses the file invoicepdf.tpl in which I will have a logo and header info.

 

Then maybe a second Batch PDF export menu item or button that would simply load a second version of invoicepdf.tpl with a blank space to accommodate the letterhead artwork.

 

Can someone point me in the right direction -- I'm brand new to WHMCS.

Link to comment
Share on other sites

By using the hook for "InvoiceCreationPreEmail" I'm able to retrieve the invoiceid. Looks like a deadend there?

 

I found menu.tpl where I could add a second pdf batch link.

 

Looks like reports.php?report=pdfbatch would need be duplicated and use a different version of invoicepdf.tpl without a logo.

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