pblakstad Posted August 7, 2009 Share Posted August 7, 2009 In Norway we have this "invoicefee" that is a small amount (in my case NOK 50,-) that should be included on every invoice that WHMCS generates. Does anyone know how i can accomplish this so it's all works automatically? As it works now i have to add the fee manually to all invoices. That's not a good solution. 0 Quote Link to comment Share on other sites More sharing options...
JulesR Posted August 7, 2009 Share Posted August 7, 2009 Take a look at using action hooks, particularly the "InvoiceCreated" one: http://wiki.whmcs.com/Action_Hooks You could then code a function that adds the fee to your invoices automatically. 0 Quote Link to comment Share on other sites More sharing options...
pblakstad Posted August 7, 2009 Author Share Posted August 7, 2009 Ok, i'll give it a try. I dont have a clue about coding. But i'll see what i get to 0 Quote Link to comment Share on other sites More sharing options...
pblakstad Posted August 7, 2009 Author Share Posted August 7, 2009 I have no chance figuring out that by using Action Hooks. Any other ideas? 0 Quote Link to comment Share on other sites More sharing options...
JulesR Posted August 7, 2009 Share Posted August 7, 2009 No, you'll need to use action hooks. 0 Quote Link to comment Share on other sites More sharing options...
pblakstad Posted August 7, 2009 Author Share Posted August 7, 2009 Ok. Thanks for the help 0 Quote Link to comment Share on other sites More sharing options...
weba Posted January 28, 2010 Share Posted January 28, 2010 Great idea this; This way I can add a custom field to my client wich he can toggle by hiself. He can choose if he wants the invoice by snail mail. If so I add a charge to the invoice with this hook. 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.