Commit Graph

16 Commits

Author SHA1 Message Date
John Cotton d60bd41b65 Corrected the top earners array too. 2011-11-24 01:00:21 +00:00
John Cotton c980c67f7d The order of slicing then reversing of both the top sellers and top earners arrays meant that the bottom 25 products were displayed, not the top 25.
The first asort puts the values in ascending order so slicing first takes the bottom values upwards.

By reversing first then slicing we get the top 25 downwards.
2011-11-24 00:55:29 +00:00
Mike Jolley 300a64f6bc Added basic links to order pages from reports. Closes #150.
Doesn't do date ranges - does a custom search by product name.
2011-11-16 21:18:59 +00:00
Mike Jolley b1e179aa0f Large change to product types
Removed downloadable and virtual product types in favour of a
downloadable/virtual checkbox option meaning variations can also now be
virtual (no shipping) or downloadable. This should make it more
flexible.

Not many changes were needed to template since simple, downloadable,
and virtual were all pretty similar anyway.

Added a filter for admin for the new sub-types.

In the future variations should have boxes too for downloadable/virtual
so you can mis it up with physical/downloadable goods in the same
product :)
2011-11-05 19:03:03 +00:00
Mike Jolley 9eef2113f3 Reports queries. Closes #122. 2011-11-01 12:33:19 +00:00
Mike Jolley fb241f8553 Dashboard reports range + statuses fix. Closes #123. 2011-11-01 12:08:06 +00:00
Mike Jolley d40fd373f8 Removed all trailing white space. Closes #71. 2011-10-26 20:10:36 +01:00
Mike Jolley 9682d6f4c9 Reports 2011-10-05 13:44:44 +01:00
Mike Jolley e5b87570bf Fixed reports 2011-09-27 13:39:24 +01:00
Mike Jolley 4cb31cd969 stock reports 2011-09-20 11:30:21 +01:00
Mark Jaquith f784986a0d First esc_attr() pass 2011-09-19 14:02:55 +08:00
Mike Jolley abe07eb787 customer reports 2011-09-17 01:12:25 +01:00
Mike Jolley 87e3d83b67 Reports cleanup 2011-09-17 00:07:40 +01:00
Mike Jolley fc87f294f6 reports work 2011-09-16 18:39:37 +01:00
Mike Jolley 1f0f9213f3 1 report down, lots to go 2011-09-16 13:45:52 +01:00
Mike Jolley 0d0bb3436c Added reports section (no content yet) and redone admin stars 2011-09-16 09:30:16 +01:00