saket_bisht Posted October 1, 2013 Share Posted October 1, 2013 Hello, working in admin end where I have to show some information with invoices, so need to edit tpl file belongs to whmcs/admin/invoices.php. But I have seen on admin/templates/blend their is no such file which belongs to invoices.php. Please anyone can tell me, how can I do this.. Many thanks Saket 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 1, 2013 Share Posted October 1, 2013 can you tell us about the information you want to add to the invoices? is this info to be seen by admins only, or do the clients need to see it? if we know what you want to add, then there might be another way to do it. 0 Quote Link to comment Share on other sites More sharing options...
saket_bisht Posted October 1, 2013 Author Share Posted October 1, 2013 its a sort of information like 'what else you want', I have made a form in client area section where user fill form, then by using hooks I relate that info to invoice. Now I have to show that information to the admin end. Info is only for admin. thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 1, 2013 Share Posted October 1, 2013 in this form, did you use any custom fields? http://docs.whmcs.com/Custom_Fields i'm assuming not because if you had, the form content should have been available in the client's profile in admin and I don't think that you wouldn't have needed to use any hooks... though i've never created a separate form in the client area, i'm pretty sure you can use custom fields in them. when you say pass the information to invoices, I assume you just mean to the clients profile. if you don't want to rewrite the form to use custom fields, then a quick solution might be to add another hook to pass the info to the client's "admin notes" field (as it already exists) - but i've never played with hooks, so I can't help you do that ! 0 Quote Link to comment Share on other sites More sharing options...
saket_bisht Posted October 1, 2013 Author Share Posted October 1, 2013 thanks for guiding me. I know about custom fields but cant use in this scenario cause I have to use file input also, which are not present in custom fields, that's why I have to made a form like this.Is their any way to show custom information in invoices in admin end. 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.