|
@@ 2615-2617 (lines=3) @@
|
| 2612 |
|
// Show shipping excluding tax. |
| 2613 |
|
$shipping = wc_price( $this->order_shipping, array('currency' => $this->get_order_currency()) ); |
| 2614 |
|
|
| 2615 |
|
if ( $this->order_shipping_tax != 0 && $this->prices_include_tax ) { |
| 2616 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 2617 |
|
} |
| 2618 |
|
|
| 2619 |
|
} else { |
| 2620 |
|
|
|
@@ 2624-2626 (lines=3) @@
|
| 2621 |
|
// Show shipping including tax. |
| 2622 |
|
$shipping = wc_price( $this->order_shipping + $this->order_shipping_tax, array('currency' => $this->get_order_currency()) ); |
| 2623 |
|
|
| 2624 |
|
if ( $this->order_shipping_tax != 0 && ! $this->prices_include_tax ) { |
| 2625 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 2626 |
|
} |
| 2627 |
|
|
| 2628 |
|
} |
| 2629 |
|
|