|
@@ 2641-2643 (lines=3) @@
|
| 2638 |
|
// Show shipping excluding tax. |
| 2639 |
|
$shipping = wc_price( $this->order_shipping, array('currency' => $this->get_order_currency()) ); |
| 2640 |
|
|
| 2641 |
|
if ( $this->order_shipping_tax != 0 && $this->prices_include_tax ) { |
| 2642 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 2643 |
|
} |
| 2644 |
|
|
| 2645 |
|
} else { |
| 2646 |
|
|
|
@@ 2650-2652 (lines=3) @@
|
| 2647 |
|
// Show shipping including tax. |
| 2648 |
|
$shipping = wc_price( $this->order_shipping + $this->order_shipping_tax, array('currency' => $this->get_order_currency()) ); |
| 2649 |
|
|
| 2650 |
|
if ( $this->order_shipping_tax != 0 && ! $this->prices_include_tax ) { |
| 2651 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 2652 |
|
} |
| 2653 |
|
|
| 2654 |
|
} |
| 2655 |
|
|