ruben Posted March 7, 2008 Share Posted March 7, 2008 I used to use a very nice template for my previous invoices. Since I switched to WHMCS it is much easier, since I dont have to do everything by hand Is there a way to include my graphic ( it is 8.5 x11 graphic )as a background in the outgoing PDF invoices ? Could anyone give me any tips on how to go about doing it ? thank you in advance. 0 Quote Link to comment Share on other sites More sharing options...
Saviola8x Posted March 10, 2008 Share Posted March 10, 2008 You can try to modify PDF invoice with 2 files : fpdf.php pdfconfig.php. I never try to add background so I can't tell you more... 0 Quote Link to comment Share on other sites More sharing options...
ruben Posted March 18, 2008 Author Share Posted March 18, 2008 ok, thanks Saviola.. I will try to see if I can do it, and post the resoults here. 0 Quote Link to comment Share on other sites More sharing options...
Inetbiz Posted July 9, 2009 Share Posted July 9, 2009 My old invoice template is not bein use by this, anymore. Where to now?? 0 Quote Link to comment Share on other sites More sharing options...
Redundant Posted July 9, 2009 Share Posted July 9, 2009 check out the Patch/Change notes. PDF Invoice now has a .TPL file associated with it in the respective template folder. 0 Quote Link to comment Share on other sites More sharing options...
Inetbiz Posted July 9, 2009 Share Posted July 9, 2009 In the example, header() from FPDF website, whmcs' version is blank and produces the logo and company information on the page. Shouldn't this be moved into the header() and the company signature and whmcs link added to the footer? The invoice number should also link to that invoice on the page. Here are somethings I have added, thus far: <?php $pdf->SetCompression(true); $pdf->Ln(29); # Logo $pdf->Image(ROOTDIR.'/templates/strikehawk/images/googlesearch.gif',20,25); #Global $invoiceprefix = $_LANG["invoicenumber"]; #PDF Subject $subject = $invoiceprefix.$invoicenum . ' ' . $companyaddress[0]; $pdf->SetSubject($subject); #PDF Creator $pdf->SetCreator($companyaddress[0]); $pdf->SetTitle($subject); I also want to extend pdf properties. PDF Settings -> Reading Options -> Language as well as signing certificate and limitations. 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.