This commit is contained in:
Paul Sealock 2020-09-17 08:33:52 +12:00 committed by GitHub
parent 3abeda602a
commit d057022caf
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
'tax_rate_id' => $tax_item->get_rate_id(),
'shipping_tax' => $tax_item->get_shipping_tax_total(),
'order_tax' => $tax_item->get_tax_total(),
'total_tax' => $tax_item->get_tax_total() + $tax_item->get_shipping_tax_total(),
'total_tax' => (float) $tax_item->get_tax_total() + (float) $tax_item->get_shipping_tax_total(),
),
array(
'%d',