Thumper Posted January 10, 2021 Share Posted January 10, 2021 I have been trying to use hooks in v8.1 to have the customers invoices appear in their dashboard. I had this back in V6 and have recently decided to upgrade however my hooks no longer work, any idea? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 11, 2021 Share Posted January 11, 2021 On 10/01/2021 at 09:59, Thumper said: I have been trying to use hooks in v8.1 to have the customers invoices appear in their dashboard. I had this back in V6 and have recently decided to upgrade however my hooks no longer work, any idea? it would have been helpful to see the hook - possibly it's just using a deprecated way of querying the database before creating the array? the client homepage has access to an invoices array by default, but I think only unpaid invoices - so if you needed to show paid/all etc invoices, you'd probably still need to generate a custom array. also, you need is a method to loop through the array and output it in a table... possibly your hook does/did that, but you could certainly edit the template to add such a table... e.g copying the code from clientareainvoices, with one little tweak of changing invoice.status to invoice.statustext would output the table on the homepage. 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.