nibblesmctwitch Posted October 11, 2007 Share Posted October 11, 2007 When a client signs up for an account a invoice is generated then when it is paid an PDF invoice receipt is generated. Now the question is Is the PDF supposed to be Stamped Paid, i thought i remenbered seeing it do that but im not sure. 0 Quote Link to comment Share on other sites More sharing options...
sisgroup Posted October 12, 2007 Share Posted October 12, 2007 Yes if the user has paid for the invoice then yes it will show (Or should show) as being paid 0 Quote Link to comment Share on other sites More sharing options...
nibblesmctwitch Posted October 12, 2007 Author Share Posted October 12, 2007 Thats what i thought but my PDF are not stamped as paid. 0 Quote Link to comment Share on other sites More sharing options...
sisgroup Posted October 12, 2007 Share Posted October 12, 2007 odd what version of WHMCS are you using? 0 Quote Link to comment Share on other sites More sharing options...
nibblesmctwitch Posted October 12, 2007 Author Share Posted October 12, 2007 was 3.3 now 3.4 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 12, 2007 WHMCS CEO Share Posted October 12, 2007 It sounds like your either missing a language string from the language file or are using an outdated pdfconfig.php file. Matt 0 Quote Link to comment Share on other sites More sharing options...
nibblesmctwitch Posted October 12, 2007 Author Share Posted October 12, 2007 Ok i had kept my pdfconfig.php file since i had mad a change to size my logo properly. I will update the file. 0 Quote Link to comment Share on other sites More sharing options...
nibblesmctwitch Posted October 12, 2007 Author Share Posted October 12, 2007 Yep works now, is there any way to change the color of the word PAID? 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted October 13, 2007 Share Posted October 13, 2007 The word is taken from the invoice status from memory, but there's a bug in the PDF library used to generate the PDF and you need to supply 0 for the second and third colours otherwise the result is grey. This is a problem with the PDF generating code, but is easily fixed with a small workaround in WHMCS - small code excerpt: 100,101c161,163 < $pdf->SetTextColor(245); < $pdf->Write(5,strtoupper($status)); --- > $pdf->SetTextColor(245, 0, 0); > $pdf->Write(5,strtoupper($status)); 0 Quote Link to comment Share on other sites More sharing options...
nibblesmctwitch Posted October 13, 2007 Author Share Posted October 13, 2007 That worked Thanks, now it says PAIDPAID but its in RED LOL!! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 13, 2007 WHMCS CEO Share Posted October 13, 2007 The word is taken from the invoice status from memory, but there's a bug in the PDF library used to generate the PDF and you need to supply 0 for the second and third colours otherwise the result is grey. Light grey is the colour intended! It's meant to be like a watermark Matt 0 Quote Link to comment Share on other sites More sharing options...
nibblesmctwitch Posted October 13, 2007 Author Share Posted October 13, 2007 Thanks Matt 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted October 14, 2007 Share Posted October 14, 2007 Light grey is the colour intended! It's meant to be like a watermark Matt Sometimes my acuity scares me Then you should consider using the correct rgb values, as currently you're specifying "all red" and getting grey. Of course, you may like that! Cheers, Brian 0 Quote Link to comment Share on other sites More sharing options...
arhost Posted October 21, 2007 Share Posted October 21, 2007 You can get the correct RGB-Values from here: http://www.help4web.net/webmaster/Color/RGB-Values.html 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.