Jump to content

Annual income report


AstritK

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

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