djpete Posted June 5, 2009 Share Posted June 5, 2009 In Australia you must have the words "TAX INVOICE" on the top of all invoices. Is there an easy way to do this mod? (PS I see Sparkys PDF mod but really I just need the heading added) 0 Quote Link to comment Share on other sites More sharing options...
djpete Posted June 6, 2009 Author Share Posted June 6, 2009 no one? Otherwise you may be visiting me in jail when the taxman finds out. 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted June 6, 2009 Share Posted June 6, 2009 It's easy to do by editing your invoice template. 0 Quote Link to comment Share on other sites More sharing options...
djpete Posted June 6, 2009 Author Share Posted June 6, 2009 any more info than that? Please 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted June 6, 2009 Share Posted June 6, 2009 This site contains the syntax you need to use. http://www.fpdf.org 0 Quote Link to comment Share on other sites More sharing options...
djpete Posted June 6, 2009 Author Share Posted June 6, 2009 ripper! Thank you. Thats what I needed 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 6, 2009 Share Posted June 6, 2009 This site contains the syntax you need to use. www.fpdf.org That would be right if whmcs used fpdf but it doesn't I'm afraid. Try tcpdf http://www.tecnick.com/pagefiles/tcpdf/doc/com-tecnick-tcpdf/TCPDF.html 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted June 6, 2009 Share Posted June 6, 2009 Whoops... sorry about that. I'm sure it did some time back, but I see you are correct sparky. 0 Quote Link to comment Share on other sites More sharing options...
MonkeyMagic Posted June 7, 2009 Share Posted June 7, 2009 Being an Aussie, we had to do this too - ie. add the word Tax to Invoice. Here is exactly how to do it - nice and easy. 1. Open invoicepdf.tpl in the Templates folder in a text based editor 2. Locate the following code: $pdf->Cell(0,8,$invoiceprefix.$invoicenum,0,1,'L','1'); and replace with: $pdf->Cell(0,8,'Tax '.$invoiceprefix.$invoicenum,0,1,'L','1'); 3. save and upload. All done. I hope that helps. 0 Quote Link to comment Share on other sites More sharing options...
djpete Posted June 8, 2009 Author Share Posted June 8, 2009 (edited) Matt gave me an even easier way... Quote Easiest way of doing this is to search for "Invoice #" string in the lang/English.txt file and just change that to "Tax Invoice #" and then that will take effect on both the client area and PDF versions. Unquote This has worked fine but really by law the words TAX INVOICE should be in big print across the top of the PDF. Can anyone else help? That cyntax stuff from the tcpdf link is beyond me...Sorry And there weren't any examples I could follow either. :-( If someone would be kind enough to post that line of cyntax here to make the words TAX INVOICE in say 20point then I will find the best place to put it(..so to speak. lol) I really like the PDF Invoicing but seems that its a bugger to edit. (If you don't know what you are doing!) Edited June 8, 2009 by djpete 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.