christofire Posted March 13, 2009 Share Posted March 13, 2009 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? 0 Quote Link to comment Share on other sites More sharing options...
siteplan Posted March 14, 2009 Share Posted March 14, 2009 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) 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 14, 2009 Share Posted March 14, 2009 or do as she asked and type... perl -p -i -e "s/Unpaid/FREELOADER!/g" * ;( 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted March 14, 2009 Share Posted March 14, 2009 lol. Hilarious. 0 Quote Link to comment Share on other sites More sharing options...
GORF Posted March 15, 2009 Share Posted March 15, 2009 Hi, u kan change it in the pdfconfigfile in ur includes map .. I think he meant.... Hi, you can change it in the pdfconfigfile in your includes map 0 Quote Link to comment Share on other sites More sharing options...
christofire Posted March 19, 2009 Author Share Posted March 19, 2009 Awesome. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
WisTex Posted March 19, 2009 Share Posted March 19, 2009 I think that the "UNPAID" text is actually unnecessary. When you send an invoice, it is assumed to be unpaid unless stated otherwise. 0 Quote Link to comment Share on other sites More sharing options...
merlinpa1969 Posted March 19, 2009 Share Posted March 19, 2009 Thats kool Some want it others dont, thats the great thing about it, you can comment it out 0 Quote Link to comment Share on other sites More sharing options...
thebyp Posted March 20, 2009 Share Posted March 20, 2009 Brilliant, all my invoices now read: YOU FREELOADER, YOU WANT THE SHIRT OFF MY BACK TOO? seriously though, I know what you mean, it's a good idea to tune it down a notch 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted March 20, 2009 Share Posted March 20, 2009 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); 0 Quote Link to comment Share on other sites More sharing options...
SharedLayer Posted March 20, 2009 Share Posted March 20, 2009 Brilliant, all my invoices now read: YOU FREELOADER, YOU WANT THE SHIRT OFF MY BACK TOO? seriously though, I know what you mean, it's a good idea to tune it down a notch Haha that's a great idea! 0 Quote Link to comment Share on other sites More sharing options...
siteone Posted November 6, 2009 Share Posted November 6, 2009 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? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.