Mike Jolley
ef352c2b48
Outofstock lookup
2019-03-13 10:10:24 +00:00
Mike Jolley
b4aa0c3915
use found rows
2019-03-13 10:06:49 +00:00
Mike Jolley
f5bd3be2c2
most stocked lookup table
2019-03-13 09:59:14 +00:00
Mike Jolley
ac21a4bc33
phpcs
2019-03-12 22:26:53 +00:00
Mike Jolley
3b98d2de8d
Switch low stock report to lookup table
...
Baseline page load time down from 60s to 0.7s
2019-03-12 22:26:46 +00:00
Rodrigo Primo
c4d6f3dac3
Replace deprecated WPCS rule
...
This commit replaces all the instances where the WPCS rule `WordPress.VIP.SlowDBQuery` was used with `WordPress.DB.SlowDBQuery`. `WordPress.VIP.SlowDBQuery` was deprecated in WPCS 2.0 and `WordPress.DB.SlowDBQuery` was added as a replacement (see 5f27d8e3a4/CHANGELOG.md (L130)
).
2019-03-12 11:24:09 -03:00
Mike Jolley
7def966e4f
Impoved JSON handling
2019-02-20 12:00:47 +00:00
Ron Rennick
b92cfc51a5
update product table to correctly calculate net product sales
2019-02-11 16:34:28 -04:00
Mike Jolley
8ed1dacdc9
Merge pull request #22581 from woocommerce/fix/22561
...
include refunded orders in top sellers, earners in sales by product report
2019-01-31 13:51:51 +00:00
Gerhard
a2e4ca70b6
PHPCS fixes
2019-01-30 11:33:51 +02:00
Gerhard
429f515704
Introduce woocommerce_admin_report_customers_user_query_args and woocommerce_admin_report_customer_list_user_query_args filters to altering the queries running when retrieving users for reports.
2019-01-30 11:19:34 +02:00
Ron Rennick
a93418b826
phpcs sniff fixes for class-wc-report-sales-by-product.php
2019-01-27 19:27:30 -04:00
Ron Rennick
f42c42066b
include refunded orders in top sellers, earners in sales by product report
2019-01-27 19:24:08 -04:00
Gerhard Potgieter
f77e2d7316
Handle full refunds in the taxes by code report ( #21843 )
...
* Add full refund support to the taxes by code report.
* Some PHPCS fixes
* Do not include refund in initial tax lookup for report.
* Correct logic which loops orders
* match date report
2019-01-23 15:12:58 +00:00
Ron Rennick
c3879f0d63
only deduct refunded shipping, taxes once from gross to get net sales by date CSV
2019-01-21 15:44:53 -04:00
Ron Rennick
aa9961695f
phpcs sniff fixes for class-wc-report-orders-by-date.php
2019-01-21 15:36:29 -04:00
Gerhard
cf38ed4aba
Remove on-hold orders from tax reports as they are not paid yet. Tax reports should only contain paid orders.
2019-01-11 14:44:09 +02:00
Rodrigo Primo
a9e532022a
Replace `continue` inside `switch` statement with `break`
...
PHP 7.3 will generate a warning when `continue` is used inside a `switch` statement. For more information see the relevant section in https://make.wordpress.org/core/2018/10/15/wordpress-and-php-7-3/
2018-11-20 16:24:11 -02:00
Rodrigo Primo
f109008e0d
Revert "Update wc_customer_bought_product() and customers report to use post_author instead of _customer_user"
...
This reverts commit b97f2749d6
.
2018-10-29 11:15:22 -03:00
Claudio Sanches
6d54a533ae
Fixed customer list query
2018-09-08 21:21:00 -03:00
Rodrigo Primo
c49059ce7a
Merge branch 'master' into update/use-post-author-for-customer-id
2018-05-08 17:34:09 -03:00
Rodrigo Primo
b97f2749d6
Update wc_customer_bought_product() and customers report to use post_author instead of _customer_user
2018-05-07 17:25:58 -03:00
Rodrigo Primo
14287bdcf3
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:12:26 -03:00
Rodrigo Primo
c1dabf0196
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:08:56 -03:00
Peter Fabian
7861d7b95f
Changed usage of selected with in_array to wc_selected.
2018-04-17 13:24:39 +02:00
rspublishing
2eca0d73bd
Duplicate queries for WC_Admin_Report->get_order_report_data()
2018-03-23 11:15:21 +02:00
Claudio Sanches
4daf256c32
Fixed path of walker classes
2018-03-09 16:31:00 -03:00
Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Mike Jolley
bd72bf89f2
Fix partial refund handling in taxes by date report
2018-02-06 11:31:40 +00:00
claudiulodro
646caf5753
Tweaks for variation reports
2018-01-03 10:09:53 -08:00
claudiulodro
611ca58d09
Change sanitize function
2017-12-22 09:46:57 -08:00
Caleb Burks
5130740aca
Escaping
2017-12-15 04:26:22 -06:00
Caleb Burks
b8e208269e
Adjust download reporting active filters display
2017-12-14 00:13:53 -06:00
Mike Jolley
0a9485c465
Merge branch 'master' into feature/11259
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/list-tables/class-wc-admin-list-table-products.php
# includes/class-wc-install.php
# includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Mike Jolley
5d42a64b73
Merge branch 'master' into update/order-screen-refinements
2017-12-04 13:44:27 +00:00
claudiulodro
5513dc4546
Update with master
2017-11-22 11:02:14 -08:00
Mike Jolley
b3e7260c95
Improve styling of order actions columns
2017-11-22 16:14:30 +00:00
Mike Jolley
2b1243ea04
Confirm navigation if nonce has expired in reports.
...
Closes #17850
2017-11-22 11:30:22 +00:00
claudiulodro
0390cf3e26
Bring up-to-date with master
2017-11-16 10:06:07 -08:00
claudiulodro
bb7f1b1273
Logic tweaks
2017-11-15 13:04:24 -08:00
claudiulodro
db117d6344
Backordered products should count as in stock
2017-11-14 14:54:11 -08:00
Mike Jolley
04d8184496
More filter options
2017-11-13 19:03:08 +00:00
Mike Jolley
3621736400
PHPCS
2017-11-13 16:24:33 +00:00
Mike Jolley
eddd7fbfb4
Feedback
2017-11-13 15:58:22 +00:00
Mike Jolley
04d7ccfaa4
Show guest
2017-11-13 15:54:01 +00:00
Mike Jolley
eedf745430
Wording and move report location
2017-11-13 15:36:22 +00:00
Mike Jolley
3e7968d37b
Merge branch 'master' into pr/16418
2017-11-13 14:37:18 +00:00
Mike Jolley
9f6f5f9f17
Merge pull request #17609 from woocommerce/update/17254-input-to-button
...
Convert input submit elements to button submit elements
2017-11-07 19:21:04 +00:00
Gerhard Potgieter
d3d41a4a05
input to button for submit in class-wc-report-sales-by-product.php
2017-11-07 09:56:31 +02:00
Gerhard Potgieter
e8b9ad7e17
PHPCS fixes for class-wc-report-sales-by-product
2017-11-07 09:55:19 +02:00