ehm Posted November 16, 2009 Share Posted November 16, 2009 I have my clients basicly in 2 diferent countries. Also i offer the 'Bank Transfer' option on both countries, since I have a bank account on each one. How can I create the 'Bank Transfer Information' for each country? A very commom question every time I send the Invoices is: "Could you please give us your bank information again?" So I decided to include that information on the invoice, but I'm not sure how to do that separated by countries. Note that if the client is in country A, the bank account will be for that country. As well in B. Thank you for ideas. 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 17, 2009 Share Posted November 17, 2009 Just add them both on the invoice and put below it that it is importent they use the right one else it will delay the payment to be alecated to there account and the late fee may be applied to the account. then they will do it right. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 17, 2009 WHMCS Support Manager Share Posted November 17, 2009 Use something like this on your viewinvoice.tpl: {if $clientsdetails.country eq "Country1"} Bank account 1 Country 1 {else} Bank account 2 Country 2 {/if} 0 Quote Link to comment Share on other sites More sharing options...
ehm Posted November 24, 2009 Author Share Posted November 24, 2009 (edited) Couple questions: 1) is there any place to edit templates on the WHMCS program or I do have to do that direct on my web site (via FTP editor)? 2) on my /templates/ folder I have 4 folders and 3 seams to have the same files: a) default b) mysitename (this is a folder with my site name on it) c) orderforms d) portal seams that a), b) and d) have the same files. where do I edit the /viewinvoice.tpl file? and why do I have all 3 sets? then one more question: if I want to edit the file that creates the PDF that is sent to the user by e-mail, what file that would be? Thank you Edited November 24, 2009 by ehm 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 24, 2009 WHMCS Support Manager Share Posted November 24, 2009 1. No, use good old notepad and an FTP client. 2. a, b and d are the different templates you can use. You select the one you want in Setup > General Settings. 3. invoicepdf.tpl More info available in our documentation: http://wiki.whmcs.com/Customising_WHMCS 0 Quote Link to comment Share on other sites More sharing options...
ehm Posted November 24, 2009 Author Share Posted November 24, 2009 OK... now i'm really confused... I open the invocepdf.tpl file It's not even HTML language there. It's something else that I have no clue how to write the code John gave me. Is there any one out there willing to write the code for: {if $clientsdetails.country eq "Country1"} Bank account 1 Country 1 {else} Bank account 2 Country 2 {/if} I can fill the personal information, but no idea what to do with that $pdf-> ... etc. Thanks you 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 25, 2009 WHMCS Support Manager Share Posted November 25, 2009 The PDF template uses TCPDF, more information can be found at http://wiki.whmcs.com/PDF_Invoice 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.