Made an payment entry for multiple invoices , it was processed successfully,later due to some wrong entry amount the same payment entry was updated for the invoices , The invoices which were unpaid got paid because of it and paid become unpaid , eventually had to delete all the payments and successfully deleted all the payment entries but the status still shows paid in the invoice reports.
How to change the "status " which is shown wrong .