Commit Graph

1689 Commits

Author SHA1 Message Date
Joshua T Flowers f0ec3c49a1 Add tax refund calculations (https://github.com/woocommerce/woocommerce-admin/pull/1556)
* Add item and shipping refund calucations to taxes on order update

* Sync taxes on refund delete

* Fix up tax stats API testing

* Add refunds to tax stats API tests
2019-02-18 10:20:16 +08:00
Ron Rennick c377e27411 update missed version `or greater` in update message 2019-02-15 15:41:19 -04:00
Ron Rennick e2b220bb54 Merge pull request woocommerce/woocommerce-admin#1570 from woocommerce/phpcs/tests
Phpcs sniff fixes for unit tests
2019-02-15 14:50:50 -04:00
Ron Rennick 00b640e2f0 Merge pull request woocommerce/woocommerce-admin#1567 from woocommerce/fix/1450
update chart type query string key to chartType
2019-02-15 12:58:22 -04:00
Peter Fabian f42aa073b1 Changed the date_created columns to datetime, in the new location of db create script.
date_created should store local date and time, not UTC timestamp, as the data needs to be sliced and diced by local date/time, not by UTC date/time.
2019-02-15 17:13:12 +01:00
Peter Fabian f7d0d2379f Merge branch 'master' into fix/489-date_date_gmt
# Conflicts:
#	includes/class-wc-admin-api-init.php
2019-02-15 17:07:38 +01:00
Ron Rennick 9f911df053 update changelog, coding style per review 2019-02-15 10:37:56 -04:00
Tiago Noronha 69cdb7996c Merge pull request woocommerce/woocommerce-admin#1569 from woocommerce/fix/1568-filters-button-styling
Add margin to advanced filters Add button
2019-02-15 11:11:11 +00:00
Albert Juhé Lluveras fe11ff475f Chart legend: show pointer in all clickable area (https://github.com/woocommerce/woocommerce-admin/pull/1566) 2019-02-15 11:55:04 +01:00
Albert Juhé Lluveras b61dff32f9 Sort tabular data when selecting a Summary Number (https://github.com/woocommerce/woocommerce-admin/pull/1564)
* Sort tabular data when selecting a Summary Number

* Fix 'orderby' param in orders endpoint
2019-02-15 11:54:41 +01:00
Albert Juhé Lluveras 0cb1aac8b9 Fix logic used to show legend total block (https://github.com/woocommerce/woocommerce-admin/pull/1559) 2019-02-15 11:50:41 +01:00
Albert Juhé Lluveras bce82c7572 Move IE11 specific CSS to ie.scss file (https://github.com/woocommerce/woocommerce-admin/pull/1558) 2019-02-15 11:49:51 +01:00
Justin Shreve a1c60537e5 Fix downloads stats data store sorting (https://github.com/woocommerce/woocommerce-admin/pull/1561) 2019-02-14 23:06:01 -05:00
Joshua T Flowers cba9ab61b2 Update returning customer values to respect excluded statuses (https://github.com/woocommerce/woocommerce-admin/pull/1557)
* Excluded statuses from customers oldest orders

* Fix tests for returning customer where excluded statuses are used

* Remove save_post hook used for testing

* Extract conditions for first order swapping
2019-02-15 10:09:16 +08:00
Ron Rennick 767b047f4b phpcs for admin-notess.php 2019-02-14 19:20:47 -04:00
Ron Rennick 45acf57c22 phpcs for product-reviews.php 2019-02-14 19:19:22 -04:00
Ron Rennick 7a255d7490 phpcs for products.php 2019-02-14 19:18:34 -04:00
Ron Rennick b69f8fdbf2 phpcs for reports-customers-stats.php 2019-02-14 19:17:05 -04:00
Ron Rennick e91f7f6d00 phpcs for reports-customers.php 2019-02-14 19:14:43 -04:00
Ron Rennick cd1fdef99d phpcs for reports-download-stats.php 2019-02-14 19:13:18 -04:00
Ron Rennick a89083077e phpcs for reports-interval.php 2019-02-14 19:12:15 -04:00
Ron Rennick db568ec9af phpcs for report-order-stats.php 2019-02-14 19:11:17 -04:00
Ron Rennick ece6fb1a91 phpcs for report-performance-indicators.php 2019-02-14 19:08:25 -04:00
Ron Rennick 8ce7af9f61 phpcs for report-stock-stats.php 2019-02-14 19:06:11 -04:00
Ron Rennick 7910e76d8c phpcs for bootstrap.php 2019-02-14 19:04:30 -04:00
Ron Rennick 58cfde18a4 phpcs print_R use in class-wc-tests-reports-order-stats.php 2019-02-14 18:54:45 -04:00
Tiago Noronha 5d3ce289f9 Merge pull request woocommerce/woocommerce-admin#1563 from woocommerce/fix/1402-legend-transition
Remove margin between chart legends in column direction
2019-02-14 21:23:39 +00:00
Tiago Noronha 75ee8d600b Merge pull request woocommerce/woocommerce-admin#1533 from woocommerce/fix/1511-advanced-filters-ie11
Advanced filters alignment in IE11
2019-02-14 21:23:29 +00:00
Tiago Noronha 86f3da4e9c Merge pull request woocommerce/woocommerce-admin#1530 from woocommerce/fix/1513-legend-text-align
Chart legend alignment in IE11
2019-02-14 21:23:16 +00:00
Ron Rennick 12c42c7967 phpcs for class-wc-tests-reports-orders-stats.php except print_r 2019-02-14 17:14:52 -04:00
Tiago Noronha 40dd9b5f91 Remove placeholders from components 2019-02-14 20:58:02 +00:00
Tiago Noronha db2ed027c4 Add strings back to config.js files with title placeholders 2019-02-14 20:53:08 +00:00
Paul Sealock 2e82211616 Add products/stats endpoint to categories 2019-02-15 09:44:46 +13:00
Paul Sealock 87151fa1e3 Merge pull request woocommerce/woocommerce-admin#1548 from woocommerce/fix/stock-status-link
Stock Report: fix stock link
2019-02-15 09:42:37 +13:00
Ron Rennick 16c5cf8c77 phpcs for class-wc-tests-reports-revenue-stats.php 2019-02-14 16:34:38 -04:00
Ron Rennick 86c89e741a one more type -> chartType 2019-02-14 16:03:54 -04:00
Tiago Noronha 816e122408 Revert "Conditionally include `{{rule /}}` in select-filter `mixedString`"
This reverts commit e6c811ae21.
2019-02-14 19:57:27 +00:00
Ron Rennick e7c55d7ca5 update query string for chart type tests 2019-02-14 15:34:57 -04:00
Ron Rennick 41251c3e9c fix scss whitespace 2019-02-14 15:31:20 -04:00
Tiago Noronha e6c811ae21 Conditionally include `{{rule /}}` in select-filter `mixedString` 2019-02-14 19:27:13 +00:00
Tiago Noronha 8e6913a6c6 Add margin to advanced filters Add button 2019-02-14 18:21:33 +00:00
Ron Rennick f5efd10638 fix merge conflicts 2019-02-14 14:11:15 -04:00
Ron Rennick 1422865efd remove stray debugging code 2019-02-14 13:40:25 -04:00
Ron Rennick 7f4bb8df63 update chart type query string key to chartType 2019-02-14 13:35:08 -04:00
Timmy Crawford 610f179679 Release v0.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/1551)
* Bumping version to 0.7.0 and updating docs.

* updates to package-lock.json
2019-02-14 09:24:02 -08:00
Timmy Crawford ffe45e0658 Up freshness interval default. (https://github.com/woocommerce/woocommerce-admin/pull/1549) 2019-02-14 09:23:36 -08:00
Ron Rennick 3278fb9e15 Merge pull request woocommerce/woocommerce-admin#1545 from woocommerce/doc/update-readme-build-instructions
add build:feature-config to npm build
2019-02-14 13:07:18 -04:00
Tiago Noronha ed8c587545 Remove margin between chart legends in column direction 2019-02-14 16:31:20 +00:00
Albert Juhé Lluveras 71bae4cdec Refactor D3Chart (https://github.com/woocommerce/woocommerce-admin/pull/1532)
* Refactor d3chart

* Add check that tooltip exists before trying to hide it
2019-02-14 11:29:56 +01:00
Justin Shreve 24301e0090 Add stock stats endpoint and hook up to the stock report. (https://github.com/woocommerce/woocommerce-admin/pull/1535)
* Add stock stats endpoint and hook up to the stock report.

* Handle PR feedback
2019-02-13 22:31:27 -05:00