Eduardo G. Posted March 7, 2011 Share Posted March 7, 2011 Hi all. I'm hooking "InvoiceCreationPreEmail" event to add some info to the just created invoice before sending to the client. But I do want this hook when I manually create an invoice from admin. Inside admin, I can't use "InvoiceCreationPreEmail" on manual invoices as it's not called, so I must use "InvoiceCreated" As both calls will be in the same hook, do you have any idea on how to get a hook executed only in admin or only in client zone? Thanks! 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.