Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Revert "Add paid order to stats dashboard even when there's no related invoice generated" #8335
The dashboard should show all orders that were switched to a "validated" state on a given date. Since that information is not stored in a way that is easily processed, and we cannot change the schema on 1.6.x, workarounds have been made which produce accurate results on most cases.
The reverted PR fixed a very specific case, but produced less accurate results on most other cases.
As we are unable to address the underlying problem on the 1.6.x branch, we'll have to fix it on 1.7.x