00 Day
00 Hour
00 Min
00 Sec

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

Home 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 query

We will reply to you very soon :)