AstritK Posted October 12, 2018 Share Posted October 12, 2018 Hello, Not long ago I was running some tests and made a mistake. I placed an order, accepted it, and then I deleted that order without first changing the status to cancelled (thinking that if I delete it, it would automatically remove it from reports too). However, the sum for this test order that I deleted still gets counted in all the income reports. Is there a way to fix this or I have to wait for the new fiscal year? Thank you, Astrit 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 12, 2018 Share Posted October 12, 2018 2 minutes ago, AstritK said: However, the sum for this test order that I deleted still gets counted in all the income reports. Is there a way to fix this or I have to wait for the new fiscal year? the Annual Income Report is just a SQL query to the tblaccounts database table - so deleting the relevant row from that table for this order (or more specifically it's invoice) should remove it's amount from the sum... I guess you could just change the amountin field to 0.00 and that would have the same effect. 1 Quote Link to comment Share on other sites More sharing options...
AstritK Posted October 12, 2018 Author Share Posted October 12, 2018 1 minute ago, brian! said: the Annual Income Report is just a SQL query to the tblaccounts database table - so deleting the relevant row from that table for this order (or more specifically it's invoice) should remove it's amount from the sum... I guess you could just change the amountin field to 0.00 and that would have the same effect. That's why I thought by just removing the invoice from admin panel would had been enough, i guess it wasn't. Thanks for the hint, will the database table and set the invoice to 0.00 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.