imaginit Posted December 22, 2006 Share Posted December 22, 2006 PDF Invoices are not displaying the country of client. PDF Invoices are not displaying the Business Name if it is present. (Addresses could be formatted nicer too, but thats not a bug. ) Ideally, I think it should be set to display sort of like below... If Business Name is Present: Business Name ATTN: First Last Address 1 Address 2 (if present) City State/Region Zip Code Country If the Business Name is not Present: First Last Address 1 Address 2 (if present) City State/Region Zip Code Country Just my two cents, but I think the Business Name and Country need to be displayed. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted December 22, 2006 WHMCS CEO Share Posted December 22, 2006 Hi Lance, The layout of the invoice can be modified in the file "includes/pdfconfig.php". This is not encrypted and can be customised to fit your exact needs/display the information you require. I've modified the default to include the company name if set. Just looking into the country issue - it looks like it's not correctly translating the two letter country code into the full text version. Matt 0 Quote Link to comment Share on other sites More sharing options...
imaginit Posted December 22, 2006 Author Share Posted December 22, 2006 Awsome, ill have a look at the pdfconfig.php. I was looking around for a tpl file or something to see if it could be modified like that, I figured you probably already implimented something like that for it. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted December 23, 2006 Share Posted December 23, 2006 Hi Lance, The layout of the invoice can be modified in the file "includes/pdfconfig.php". This is not encrypted and can be customised to fit your exact needs/display the information you require. I've modified the default to include the company name if set. Just looking into the country issue - it looks like it's not correctly translating the two letter country code into the full text version. Matt I know its more effort for you, but why not have the pdf templated located in the db like the rest of the templates. Dont you think that would make more sense and make things more streamlined? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted December 23, 2006 WHMCS CEO Share Posted December 23, 2006 What do you mean? There are no templates stored in the db and with the PDF invoice it's not like an HTML page - it has to be written in code. Matt 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.