Jump to content

PDF Invoice having html tag


nandugan

Recommended Posts

do you need these break returns in the Product Description ?

 

this is what I think is your website code for the above product...

 

<label class="radio-inline product-radio"><input type="radio" name="pid" id="pid18" value="18" /> <strong>NVI-1</strong>  - 150 Private Proxies<br /> <br /> Unlimited Bandwidth<br /> <br />
1 Subnet of USA IPs<br /> <br />
New IPs Monthly<br /> <br />
High Anonymous Proxy<br /> <br />
99.99% Up Time<br /> <br />
7 Days Customer Support<br /> <br />
Setup Time 48Hrs<br /> </label>

from that, I assume that you've added a <br /> at the end of every line - WHMCS already adds one by default, and you're adding a second one.

 

perhaps that's intentional on your part and you want a blank line between each line... but if you don't, just remove the <br /> - if you did that, the product would look like this...

9Fti5gH.png

and I suspect there would then be no <br /> on the PDF invoices.

 

if you don't want to remove the additional break return from the product description, then you'd have to alter the invoicepdf.tpl template to remove them - but in my opinion, removing them from the product description would be easier. :idea:

Link to comment
Share on other sites

I didn't make a note of the website I found with a similar product, so can you take a screenshot of your product setup from the admin area... or PM me a link to your website - I need to see how you've setup the product.

 

setup -> product/services -> product services -> product

 

i'm guessing you've put the break returns into the product name in order to get the full product description in the invoice.... :?:

 

YGaw0Cf.png

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