Reply To: Orphaned invoice can't be approved, void or deleted

Front Page Forums Accounting Orphaned invoice can't be approved, void or deleted Reply To: Orphaned invoice can't be approved, void or deleted

#9944
juansh
Participant

Thanks for your help.

Just a quick note which may help with a fix for this issue. After adding “void” to the status field which was previously NULL in the database entry, I was able to see the delete option in WordPress Admin the same as other void invoices. I’m guessing that it is due to a string match query in the code for the status field. Maybe a quick fix would be to do the following check:
if (!status || status === “void”) { // then show delete option below invoice }

I could be talking nonsense but hopefully it helps 🙂

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We received your message

We will reach you with your email address soon. Thank you for the time!