Merge pull request #17590 from woocommerce/fix/17544

Fix tax row orders count
This commit is contained in:
Claudio Sanches 2017-11-06 15:01:56 -02:00 committed by GitHub
commit 487d7f16cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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 ) {