Jump to content

remove the delete invoice ability


rickybsb

Recommended Posts

1 hour ago, brian! said:

do you mean to prevent WHMCS deleting invoices itself, or the removal of the red "Delete" button from the admin Invoices page ?

hi,  Gearhead

the removal of the red "Delete" button from the admin Invoices page would be enough

Link to comment
Share on other sites

21 hours ago, rickybsb said:

the removal of the red "Delete" button from the admin Invoices page would be enough

you could remove the big red mass delete button from the bottom of the invoices page using an action hook, but not necessarily the individual delete buttons from each invoice.

the simplest solution would be to go to setup -> staff management -> administrator roles -> *choose the role you want to deny deleting invoices to* -> untick "Delete Invoices" checkbox...

Gd0IhdJ.png

the small red delete buttons will still be there on the invoices page, but WHMCS will prevent the invoice from being deleted - e.g only those admin users with permission to delete invoices can do so.

21 hours ago, rickybsb said:

any example of such addon? 

he's probably talking about his own addon - Billing Extension. 🤑

 

 

Link to comment
Share on other sites

31 minutes ago, brian! said:

he's probably talking about his own addon - Billing Extension. 🤑

Nah 😀 Years ago I'm sure that there was another module or action hook. Probably it was on Ghithub I can't remember. Anyway this feature is not yet part of the module you linked. It still have to be included in a new release.

Link to comment
Share on other sites

2 hours ago, brian! said:

you could remove the big red mass delete button from the bottom of the invoices page using an action hook, but not necessarily the individual delete buttons from each invoice.

the simplest solution would be to go to setup -> staff management -> administrator roles -> *choose the role you want to deny deleting invoices to* -> untick "Delete Invoices" checkbox...

Gd0IhdJ.png

the small red delete buttons will still be there on the invoices page, but WHMCS will prevent the invoice from being deleted - e.g only those admin users with permission to delete invoices can do so.

he's probably talking about his own addon - Billing Extension. 🤑

 

 

thanks, Brian! 

that solves the delete question

we need also to disallow invoice changes.  But i know it´s a pending implementation on whmcs, desired in many countries

Link to comment
Share on other sites

2 hours ago, Kian said:

Nah 😀 Years ago I'm sure that there was another module or action hook.

then I stand corrected.

2 hours ago, Kian said:

Probably it was on GitHub I can't remember. Anyway this feature is not yet part of the module you linked. It still have to be included in a new release.

I always tend to assume a) that you are thinking of BX and b) most missing invoicing features in WHMCS will be available in that addon! 😀

Link to comment
Share on other sites

22 hours ago, rickybsb said:

we need also to disallow invoice changes.  But i know it´s a pending implementation on whmcs, desired in many countries

to stop an admin from doing it, you could try unchecking the "Manage Invoices"...

to stop WHMCS (software) doing it internally is really a policy decision for WHMCS (company) to make - I doubt you'll see it in v7.6, so you may be looking at a later version in a few months at the earliest.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated