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
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
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
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
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
Claudio Sanches
9e8aa83d47
Escape product names on reports
2017-08-15 12:56:35 -03:00
Jaydeep Rami
46d3638089
Fix missing return statement ( #16148 )
...
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
2017-07-20 18:01:14 +01:00
Mike Jolley
f8ca27f32e
Add missing nonce to product sales report
...
Fixes #15640
2017-06-16 11:51:00 +01:00
Mike Jolley
aacb01d1e7
Merge branch 'pr/13503'
...
# Conflicts:
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-layout.css
# assets/css/woocommerce-layout.scss
# assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Claudio Sanches
2da71bd7fb
Prevent nonce check outside admin when calculating for reports
...
Fix all REST API reports endpoints.
Fixes #14496
2017-04-18 20:33:25 -03:00
Aristeides Stathopoulos
10ffc92a73
Inline control structures are not allowed
2017-03-07 22:24:24 +02:00
Mike Jolley
76f8c3dddd
Escaping for scruitinizer
2017-01-06 12:45:28 +00:00
Mike Jolley
96877dbb25
Fix product search inputs
2016-12-21 13:23:26 +00:00
Mike Jolley
bc24a2e854
BW compat for variable naming
...
@webaware
2016-12-20 11:07:31 +00:00
Mike Jolley
2e77e38d33
colour -> color
...
#12627
2016-12-19 11:41:48 +00:00
Rami Yushuvaev
93d55dade9
add translators comments
2016-10-29 20:32:38 +03:00
Rami Yushuvaev
59dc477a20
Direction characters (i18n, RLT, a11y) ( #12177 )
...
* RTL+i18n: product title stricture as translation string to allow RTL languages to change `→` TO `←`
* i18n: move the `→` into the translation string to allow RTL languages to translate to `←`
* RTL: product filter indent using `→` and `←` chars
* a11y: remove `←` char, it's a bad accessibility practice to use visual indicators to point to menus
* a11y: remove `←` char, it's a bad accessibility practice to use visual indicators to point to menus
2016-10-25 21:34:50 -02:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos
6ac7f03241
Generic.Formatting.DisallowMultipleStatements.SameLine
2016-09-02 06:40:52 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
d4d6f3181c
Best practice tweaks
2016-06-06 17:24:31 +01:00
Mike Jolley
77e1aa8263
Make qty for refunds negative
...
Fixes order counts reported in #10135
May however require an upgrade routine and needs more testing. Not for
2.5.
Fixes #10135
2016-01-22 16:28:29 +00:00
Fredrik Forsmo
53d5684c92
Improve docblock comments in WC_Report_Sales_By_Product class
...
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets` since it
was `method function`
* Added missing `exit if accessed directly`
* Updated `current_filters` and `products_widget`
2016-01-05 12:41:12 +01:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
Mike Jolley
f5e73d792d
Fix error when no product is chosen for report.
...
Fixes #7427
2015-02-16 11:53:37 +00:00
Mike Jolley
4c3a58c957
Undefined product_ids_titles
2015-02-03 14:12:48 +00:00
Claudio Sanches
afb19715d4
Prevented XSS in urls
2015-01-29 12:33:06 -02:00
Mike Jolley
1fa26f1f6e
Product searches select2
2015-01-12 11:56:44 +00:00
Mike Jolley
251160d512
Added 'top freebies' to product report.
...
Closes #5596
2014-11-27 10:36:21 +00:00
Nicola Mustone
8a7ed9a053
Fixing currency position in reports
2014-09-19 09:23:58 +02:00
Mike Jolley
6dd8b11762
Fixed minor XSS issue on reports screens by escaping and sanitizing 'range' GET variable.
2014-09-16 10:33:47 +01:00
Tamara Zuk
0ab6b44bfa
Coding Standards: Admin - Reports
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:19:13 -04:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Mike Jolley
029bbbec39
Updated reports
2014-07-25 15:46:19 +01:00
Mike Jolley
00af832203
Sales by product report
2014-07-24 17:11:25 +01:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Mike Jolley
e73aa65440
Ensure product exists before getting title. Closes #4916
2014-02-25 14:48:55 +00:00
Mike Jolley
4789223f32
Fix variation level reporting Closes #4885
2014-02-24 17:10:08 +00:00
Mike Jolley
84e754e298
Update docblocks
2014-02-14 14:29:39 +00:00
Mike Jolley
29b59cc74f
Vars in report classes Closes #4720
2014-02-12 12:26:32 +00:00