|
@@ 2573-2575 (lines=3) @@
|
| 2570 |
|
// Show shipping excluding tax. |
| 2571 |
|
$shipping = wc_price( $this->order_shipping, array('currency' => $this->get_order_currency()) ); |
| 2572 |
|
|
| 2573 |
|
if ( $this->order_shipping_tax != 0 && $this->prices_include_tax ) { |
| 2574 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 2575 |
|
} |
| 2576 |
|
|
| 2577 |
|
} else { |
| 2578 |
|
|
|
@@ 2582-2584 (lines=3) @@
|
| 2579 |
|
// Show shipping including tax. |
| 2580 |
|
$shipping = wc_price( $this->order_shipping + $this->order_shipping_tax, array('currency' => $this->get_order_currency()) ); |
| 2581 |
|
|
| 2582 |
|
if ( $this->order_shipping_tax != 0 && ! $this->prices_include_tax ) { |
| 2583 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 2584 |
|
} |
| 2585 |
|
|
| 2586 |
|
} |
| 2587 |
|
|