mikelegg Posted December 9, 2008 Share Posted December 9, 2008 The wiki for customising the PDF Invoice (http://wiki.whmcs.com/PDF_Invoice) Says that $invoiceitems is an Array of invoice items. Is there any documentation that outlines what actual fields are contained in this array? 0 Quote Link to comment Share on other sites More sharing options...
Shaun Posted December 9, 2008 Share Posted December 9, 2008 The wiki for customising the PDF Invoice (http://wiki.whmcs.com/PDF_Invoice) Says that $invoiceitems is an Array of invoice items. Is there any documentation that outlines what actual fields are contained in this array? What you can do is use the print_r() php function. This wil print the contents of the array in textual format. See php.comfor more info. 0 Quote Link to comment Share on other sites More sharing options...
mikelegg Posted December 9, 2008 Author Share Posted December 9, 2008 (edited) Thanks Shaun For anyone who is interested the $invoiceitems array contains ... [description] [amount] [taxed] Edited December 9, 2008 by mikelegg 0 Quote Link to comment Share on other sites More sharing options...
mikelegg Posted December 9, 2008 Author Share Posted December 9, 2008 and the $clientsdetails array contains ... [userid] [firstname] [lastname] [companyname] [address1] [address2] [city] [state] [postcode] [country] [phonenumber] [notes] [password] [status] [credit] [taxexempt] [latefeeoveride] [overideduenotices] [language] [lastlogin] [billingcid] [domainemails] [generalemails] [invoiceemails] [productemails] [supportemails] 0 Quote Link to comment Share on other sites More sharing options...
nitro Posted December 10, 2008 Share Posted December 10, 2008 (edited) you can also use the smarty debug console to see what's going on: {debug} Edit; Oops, never mind, debug console will not be so helpful in PDF template! Edited December 10, 2008 by nitro 0 Quote Link to comment Share on other sites More sharing options...
swm Posted October 12, 2009 Share Posted October 12, 2009 Thank you for providing the client array list, it was very helpful. 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.