Commit Graph

81 Commits

Author SHA1 Message Date
Mike Jolley 4b87f933a4 Extension compatibility fix #3026 2013-04-29 15:17:03 +01:00
Daniel Dvorkin a8c722dc72 Make reports and charts discovery easier
Extract the reports and charts definition to a new woocommerce_get_reports_charts() function so third party plugins can get easily the data.

Also add a string key to each chart so it's easier and more reliable to identify them, because order, name and function can change.
2013-04-24 22:25:12 -03:00
Max Rice 4a54236563 Allow class callbacks for report functions 2013-04-17 12:13:21 -04:00
Mike Jolley d4b57da561 Merge pull request #2810 from Geczy/master
Reports order link filter
2013-03-25 08:46:08 -07:00
Mike Jolley 4c722c7338 Hide tax reports when taxes disabled. Closes #2797. 2013-03-25 15:43:14 +00:00
Matt 502e0586bf Filter order links in the reports 2013-03-25 10:46:02 -04:00
Mike Jolley 80b4ef14c9 Slugs are unreliable, and support show_if hide_if for all product types 2013-02-26 15:14:49 +00:00
yitzchak 06d252c9ae Update admin/woocommerce-admin-reports.php
Filter woocommerce_reports_order_statuses provides ability to add other order statuses to reports, but links to edit orders from reports still refer to only base types of completed, processing, and on-hold. 

Added use of woocommerce_reports_order_statuses filter to all links to edit.php to fix this.
2013-02-11 12:56:05 -05:00
Mike Jolley f70162177a Don't count twice Closes #2384. 2013-02-08 17:58:54 +00:00
Mike Jolley 9402a572d7 Show 'out of stock' marked products in reports, and remove sort by stock - stock values vary so much this is unreliable and impossible to sort correctly. Closes #2380. 2013-02-08 17:35:26 +00:00
Mike Jolley 0d6e510b8d Fix reports Closes #2211. 2013-01-14 17:11:55 +00:00
Mike Jolley ad79ab9c1f Closes #2214. 2013-01-11 13:29:00 +00:00
Mike Jolley 19cfd8d8f1 Chart label #2211 2013-01-11 11:42:04 +00:00
Mike Jolley 8baa368ffa Fixed report dates Closes #2206. 2013-01-10 16:27:22 +00:00
Mike Jolley 235cda133a Filter on low in stock product objects. Closes #2177. 2013-01-10 14:13:50 +00:00
Mike Jolley a7899394c9 Move legend out of charts 2013-01-03 13:05:23 +00:00
Mike Jolley a697ffbeb6 Coupon rework, reports, and styles. Closes #1862. 2012-12-11 17:02:48 +00:00
Mike Jolley e3698f99ed Rounding fixes, and link tax rows to tax rates by ID.
Also closes #1869 as it allows us to use 'codes' for tax rates instead
of their label. E.g. code US-AL-Tax-1. This lets users filter taxes in
reports easier.
2012-12-06 19:49:04 +00:00
Mike Jolley 86adc50964 reports for subcats. Closes #1924. 2012-12-05 18:36:30 +00:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Matt 01bd682662 Fix: Show first report tab & chart logically 2012-11-29 09:39:00 -05:00
Mike Jolley 1edf98e95f Hook names for #1878 2012-11-29 12:45:44 +00:00
Matt a84144985d Filters for Sales reports 2012-11-28 17:23:51 -05:00
Mike Jolley 20861b5809 Fix queries with double %% Closes #1875. 2012-11-28 17:14:27 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Coen Jacobs 95ee532369 Stripped rest of wpdb->prepare calls without args #1717 2012-11-26 16:13:10 +01:00
Mike Jolley 5d4ff86e55 Tax reports based on order items. 2012-11-14 11:27:24 +00:00
Mike Jolley 549880b8eb New structure for line items (this one uses meta more) 2012-10-23 17:41:42 +01:00
Mike Jolley 5883701729 Reports for order lines 2012-10-22 16:13:23 +01:00
Mike Jolley 0a4a17acf0 started on reports 2012-10-19 21:00:50 +01:00
Mike Jolley a66cff4119 [3.2.5] SQL #1575 2012-10-16 16:46:41 +01:00
Mike Jolley a3bf44b073 [3.2.4] Sanitize #1575 2012-10-16 16:46:41 +01:00
Mike Jolley 15eb48242a [3.2.3] XSS #1575 2012-10-16 16:46:41 +01:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Mike Jolley c5c5dcc3a1 [3.1.4] Check WP is loaded. #1575 2012-10-15 20:39:43 +01:00
Mike Jolley c9e61eef82 Reports fix when beginning with a number. 2012-09-30 19:35:05 +01:00
Mike Jolley a406f24103 Merge pull request #1520 from maxrice/coupon-report
added sales by coupon report
2012-09-30 11:26:31 -07:00
Mike Jolley 9550c05d69 Grammer. Closes #1538. 2012-09-29 20:04:41 +01:00
Max Rice 883f03df66 added sales by coupon report
initial version of sales by coupon report. Since multiple coupon codes
for a single order are stored comma separated, this report considers
them as 1 coupon. Handling multiple coupons within an order as
individual coupons with the report would be quite a bit more complex --
I think most stores force individual use on coupons anyway.
2012-09-20 14:25:18 -04:00
Mike Jolley c3bf0a1f38 report tweaks 2012-08-31 18:35:37 +01:00
Mike Jolley 45d43bd148 Merge pull request #1448 from franticpsyx/master
Back end filters & support for ML plugins
2012-08-31 06:20:07 -07:00
Mike Jolley 4ea207c249 Revised stats by category 2012-08-31 14:11:34 +01:00
Manos Psychogyiopoulos c5f18141d4 Dashboard and Reports support for ML plugins, I 2012-08-30 14:23:13 +03:00
Mike Jolley 325618a1d5 Added sales by category report 2012-08-29 17:43:56 +01:00
Mike Jolley 806a6fb159 Lots of documentation 2012-08-14 23:43:53 +01:00
Mike Jolley a0ead8d5cf More tax report bits 2012-07-25 16:20:08 +01:00
Mike Jolley 730158a4b3 Simple tax report. Work in progress. 2012-07-20 20:08:42 +01:00
Mike Jolley 076a2067cf notices, links don't make sense when we can show multiple items. 2012-07-10 14:29:25 +01:00
Mike Jolley 74fbd56d5b hooks for order statuses 2012-06-18 12:44:48 +01:00
Mike Jolley 17ccd1251c charts array tweak 2012-06-12 18:26:34 +01:00