[ASTPPCOM-227] Disable invoice module Created: 12/Sep/17  Updated: 01/Apr/21  Resolved: 01/Apr/21

Status: Done
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature
Reporter: drenda Assignee: Samir Doshi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Would be interesting have the ability to disable the issue of invoices. Sometimes invoices are issued by external applications and would be interesting ASTPP permit to avoid the generation and keep just the history of refill.

Thanks



 Comments   
Comment by tridcatij [ 13/Sep/17 ]

You could just comment this task in the crontab.

Comment by drenda [ 13/Sep/17 ]

I'm sorry but I don't see any reference to this task in the crontab.

Comment by tridcatij [ 13/Sep/17 ]

On crontab -e you should see these ASTPP tasks:

> Generate Invoice
> 0 1 _ _ * cd /var/www/html/astpp/cron/ && php cron.php GenerateInvoice
> Low balance notification
> 0 1 _ _ * cd /var/www/html/astpp/cron/ && php cron.php UpdateBalance
> Low balance notification
> 0 0 _ _ * cd /var/www/html/astpp/cron/ && php cron.php LowBalance
> Update currency rate
> 0 0 _ _ * cd /var/www/html/astpp/cron/ && php cron.php CurrencyUpdate
> Email Broadcasting
> _ _ _ _ * cd /var/www/html/astpp/cron/ && php cron.php BroadcastEmail
>

The first one is responsible for invoices

Comment by drenda [ 13/Sep/17 ]

Ok got it. I was looking into /etc/crontab

Thanks, I'll try with that.

Comment by drenda [ 13/Sep/17 ]

I tried but unfortunately as soon as I do a refill, the invoice is issued.

Comment by Samir Doshi [ 14/Sep/17 ]

You cannot disable invoice module as all accounting linked with it.
Disabling cron will only stop creating auto invoice generation which is
defined in invoice billing cycle of customer.

The idea way to disable that module is to modify code and remove/comment
the code.

<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&referral=samir.doshi@inextrix.com&idSignature=22>

Best Regards

Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com

Disclaimer:
The information contained in this communication is confidential and may be
legally privileged. It is intended solely for the use of the individual or
entity to whom it is addressed and others authorized to receive it. If you
are not the intended recipient you are hereby notified that any disclosure,
copying, distribution or taking action in reliance of the contents of this
information is strictly prohibited and may be unlawful. Please notify the
sender immediately and destroy all copies of this message and any
attachments contained in it.

On Thu, Sep 14, 2017 at 2:07 AM, drenda <notifications@github.com> wrote:

> I tried but unfortunately as soon as I do a refill, the invoice is issued.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/iNextrix/ASTPP/issues/227#issuecomment-329289562>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AA6gcbZpn5X3Fx2zsmbTuVt_E0qhoB-rks5siD0OgaJpZM4PU71N>
> .
>

Generated at Sat Feb 10 07:15:17 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.