Pass through tax_display

Fixes #8951
This commit is contained in:
Mike Jolley 2015-08-26 13:05:52 +01:00
parent 1f3e8b984e
commit fdb25fa0c3
1 changed files with 2 additions and 2 deletions

View File

@ -1830,14 +1830,14 @@ abstract class WC_Abstract_Order {
if ( $this->get_total_discount() > 0 ) {
$total_rows['discount'] = array(
'label' => __( 'Discount:', 'woocommerce' ),
'value' => '-' . $this->get_discount_to_display()
'value' => '-' . $this->get_discount_to_display( $tax_display )
);
}
if ( $this->get_shipping_method() ) {
$total_rows['shipping'] = array(
'label' => __( 'Shipping:', 'woocommerce' ),
'value' => $this->get_shipping_to_display()
'value' => $this->get_shipping_to_display( $tax_display )
);
}