Jump to content

Invoice and Quote Logo overlap?


kudnet

Recommended Posts

I'm having an issue with my logo overlapping the first sections on both the quote and invoice.

 

My site's template should be using the same logo found in my "General Settings": .../templates/zionhost-alt-v7/img/logo.png (referenced in code from quotepdf.tpl below). I have also read through the forums and WHMCS Documentation that I can edit "invoicepdf.tpl" and I assume "quotepdf.tpl" manages the PDFs generated by the "View PDF" in the Quote builder. I should also note that the zionhost template in use does not house any invoice or quote related template.

 

# Logo
if (file_exists(ROOTDIR.'/templates/zionhost-alt-v7/img/logo.png')) $pdf->Image(ROOTDIR.'/templates/zionhost-alt-v7/img/logo.png', 20, 25, 75);
elseif (file_exists(ROOTDIR.'/assets/img/logo.jpg')) $pdf->Image(ROOTDIR.'/assets/img/logo.jpg', 20, 25, 75);
else $pdf->Image(ROOTDIR.'/assets/img/placeholder.png', 20, 25, 75);

 

I have made several attempts to edit quotepdf.tpl, especially the scale value "75", yet when I refresh the page and "View PDF", no changes seem to be made. I've attached a sample quote to better illustrate the overlap, it is very similar in the Invoice PDF as well. I get an eire feeling I'm not in the right file. Can anyone point me in the right direction?

A_Quote-4.pdf

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