AlexF Posted November 20, 2013 Report Posted November 20, 2013 Hi everyone. Is it possible to switch off invoice generation for an user or for group of users? Quote
0 Tyson Posted November 20, 2013 Report Posted November 20, 2013 No, that is not possible. What are you trying to accomplish? Quote
0 AlexF Posted November 20, 2013 Author Report Posted November 20, 2013 I have a reseller for example and he has his own billing system, but he has to use our Blesta to provisioning his clients services. He uses Blesta api and we keep some clients information on our side. To avoid double invoicing and double sending them it would nice if we had that option to switch off invoice generation totally or by user or by group of users. Quote
0 Cody Posted November 21, 2013 Report Posted November 21, 2013 That's an interesting issue. I can tell you there's no easy work around since Blesta will only renew a service if the service could be invoiced. This technique allows Blesta to perform catch up invoicing should the cron be disabled for any amount of time. I wonder if it makes sense for the service that's generating invoices that you don't want to be generated to just be set up as "One-time"? In 3.1 you can tie into the Invoices.add event and void the invoice immediately after it's created, though. Quote
0 AlexF Posted November 22, 2013 Author Report Posted November 22, 2013 Thank you. We will be waiting for ver 3.1 Quote
0 vetal Posted March 11, 2014 Report Posted March 11, 2014 Hi everyone. I would like to use Invoices.edit event and I added to function "edit" in ./components/events/default/events_invoices_callback.php my code, but variables such as $params, $event is empty in this function and $event->getParams() didn't return anything. Quote
0 Cody Posted March 11, 2014 Report Posted March 11, 2014 Hi everyone. I would like to use Invoices.edit event and I added to function "edit" in ./components/events/default/events_invoices_callback.php my code, but variables such as $params, $event is empty in this function and $event->getParams() didn't return anything. If you're having trouble it could be that: That event only exists in version 3.1+ That event is only executed when an invoice is edited. Also, it's better to create a plugin to listen for the event. Michael 1 Quote
Question
AlexF
Hi everyone.
Is it possible to switch off invoice generation for an user or for group of users?
6 answers to this question
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.