jeffuk Posted June 1, 2020 Share Posted June 1, 2020 Is there a way to disable invoice emails on a per client basis? I have a client who has 20 accounts with us and he gets 40 emails from us and 20 emails from Paypal which understandably can be a little annoying. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 1, 2020 Share Posted June 1, 2020 4 minutes ago, jeffuk said: Is there a way to disable invoice emails on a per client basis? not from settings - you're heading off into the world of hooks... 5 minutes ago, jeffuk said: I have a client who has 20 accounts with us and he gets 40 emails from us and 20 emails from Paypal which understandably can be a little annoying. roughly, it would be along the lines of the hook below... I suspect from your description, you will only need one if statement as the client list of ids should be the same for multiple templates, so the if statement could use either multiple ors for a list of email templates this applies to, or preferably in_array. 0 Quote Link to comment Share on other sites More sharing options...
jeffuk Posted June 1, 2020 Author Share Posted June 1, 2020 Thanks Brian, I will give this a go. 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.