From 0a4adde9aa58c7c48e2e5de62deb20e63b1825ec Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 6 Nov 2017 16:20:56 +0000 Subject: [PATCH] Fix tax row orders count Closes #17544 We had doubled up logic. --- includes/admin/reports/class-wc-report-taxes-by-date.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/admin/reports/class-wc-report-taxes-by-date.php b/includes/admin/reports/class-wc-report-taxes-by-date.php index c197059b906..54d83570c44 100644 --- a/includes/admin/reports/class-wc-report-taxes-by-date.php +++ b/includes/admin/reports/class-wc-report-taxes-by-date.php @@ -157,7 +157,6 @@ class WC_Report_Taxes_By_Date extends WC_Admin_Report { $tax_rows[ $key ]->shipping_tax_amount += $tax_row->shipping_tax_amount; $tax_rows[ $key ]->total_sales += $tax_row->total_sales; $tax_rows[ $key ]->total_shipping += $tax_row->total_shipping; - $tax_rows[ $key ]->total_orders += $tax_row->total_orders; } foreach ( $tax_rows_orders as $tax_row ) {