Basheer Posted February 22, 2018 Share Posted February 22, 2018 Hi, Quote When the Disable Auto Renew button is clicked in the client area, WHMCS checks for any outstanding invoices and if the domain is invoiced on it's own that invoice is cancelled, or if an invoice for multiple items just the line item for the domain in question is removed from it. https://docs.whmcs.com/Domains_Configuration I know when customer click the disable auto renew button in client area whmcs will cancel the all outstanding invoices for that domain, and if customer click the renew button also cancel the invoice (if there is unpaid invoice we have already created) and generate new invoice(We are not using automation in invoice generation ). But in my country canceled invoices is not allowed and i want to prevent this invoice cancellation , how can it possible ? Please help Link to comment Share on other sites More sharing options...
brian! Posted February 22, 2018 Share Posted February 22, 2018 3 hours ago, Basheer said: But in my country cancelled invoices is not allowed and i want to prevent this invoice cancellation , how can it possible ? i'm tempted to suggest it would just be easier to remove the option to change the auto renew status from the client area, and if any clients want to change the status, they should contact you via a ticket. another option would be to disable the button that changes the auto-renew status if the client has ANY invoices unpaid - that's literally one short line of Smarty.... if you needed to see if there were any outstanding invoices for that particular domain, then that would likely require a hook.... if the automation was active, i'd have also suggested disabling the button x days before the due date, but the NDD is almost irrelevant if the automation is turned off and you're generating the invoices yourself. and you can change the status of a cancelled invoice - it's not permanent like deletion. 1 Link to comment Share on other sites More sharing options...
Basheer Posted February 23, 2018 Author Share Posted February 23, 2018 Thanks Link to comment Share on other sites More sharing options...
twhiting9275 Posted February 23, 2018 Share Posted February 23, 2018 On 2/22/2018 at 5:04 AM, Basheer said: But in my country canceled invoices is not allowed and i want to prevent this invoice cancellation , how can it possible ? So, if you start an order from any company in your country and decide later (before paying for it) that you're not going to go through with it, then the invoice has to just sit there forever? Link to comment Share on other sites More sharing options...
Basheer Posted February 23, 2018 Author Share Posted February 23, 2018 No, mark as paid and create a negative invoice for that Link to comment Share on other sites More sharing options...
Recommended Posts