Tax display notice
This commit is contained in:
parent
b3f1d41974
commit
7285ce74e6
|
@ -1903,7 +1903,7 @@ abstract class WC_Abstract_Order {
|
|||
|
||||
$total_rows['order_total'] = array(
|
||||
'label' => __( 'Total:', 'woocommerce' ),
|
||||
'value' => $this->get_formatted_order_total()
|
||||
'value' => $this->get_formatted_order_total( $tax_display )
|
||||
);
|
||||
|
||||
return apply_filters( 'woocommerce_get_order_item_totals', $total_rows, $this );
|
||||
|
|
|
@ -18,7 +18,7 @@ class WC_Order extends WC_Abstract_Order {
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_formatted_order_total() {
|
||||
public function get_formatted_order_total( $tax_display = '' ) {
|
||||
$formatted_total = wc_price( $this->get_total(), array( 'currency' => $this->get_order_currency() ) );
|
||||
$order_total = $this->get_total();
|
||||
$total_refunded = $this->get_total_refunded();
|
||||
|
|
Loading…
Reference in New Issue