Jump to content

Invoices are a bit abrupt


christofire

Recommended Posts

I've just started using WHMCS and have been very happy... way better than my previous billing system. I was pleased to discover that I could create a product for a custom service and email and invoice with a "pay now" button!

 

Fortunately I have a very good relationship with that client because she called me a few minutes later laughing at the invoice she'd just received with the "giant 'UNPAID' in the biggest possible bright red font... why don't you just have it say 'FREELOADER'?" she asked me.

 

So, I'd like to know if I can modify the PDF invoice so that the "UNPAID" status is reduced in size a little bit?

Link to comment
Share on other sites

I've just started using WHMCS and have been very happy... way better than my previous billing system. I was pleased to discover that I could create a product for a custom service and email and invoice with a "pay now" button!

 

Fortunately I have a very good relationship with that client because she called me a few minutes later laughing at the invoice she'd just received with the "giant 'UNPAID' in the biggest possible bright red font... why don't you just have it say 'FREELOADER'?" she asked me.

 

So, I'd like to know if I can modify the PDF invoice so that the "UNPAID" status is reduced in size a little bit?

 

Hi, u kan change it in the pdfconfigfile in ur includes map .. Look for:

 

$pdf->SetFont('Arial','B',40);

$pdf->Cell(120,20,strtoupper($statustext),0,0,'C');

 

Change the 40 into something smaller (I myself use 15) :)

Link to comment
Share on other sites

To change the font size open includes/pdfconfig.php scroll to the bottom of the page about the second last line.

Find

$pdf->SetFont('Arial','B',40);

and change the number to the height you want like this

$pdf->SetFont('Arial','B',30);
Link to comment
Share on other sites

  • 7 months later...

I don't know if it's been changed since this was written, but I don't have a includes/pdfconfig.php file. Two questions:

 

1. where would I change this in version 4.4.1?

 

2. Is there a way to have it show up in small blue letters for the first invoice, and the big (well, not that big) red letters for second and following invoices?

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