|
@@ 1829-1831 (lines=3) @@
|
| 1826 |
|
// Show shipping excluding tax. |
| 1827 |
|
$shipping = wc_price( $this->order_shipping, array('currency' => $this->get_order_currency()) ); |
| 1828 |
|
|
| 1829 |
|
if ( $this->order_shipping_tax != 0 && $this->prices_include_tax ) { |
| 1830 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1831 |
|
} |
| 1832 |
|
|
| 1833 |
|
} else { |
| 1834 |
|
|
|
@@ 1838-1840 (lines=3) @@
|
| 1835 |
|
// Show shipping including tax. |
| 1836 |
|
$shipping = wc_price( $this->order_shipping + $this->order_shipping_tax, array('currency' => $this->get_order_currency()) ); |
| 1837 |
|
|
| 1838 |
|
if ( $this->order_shipping_tax != 0 && ! $this->prices_include_tax ) { |
| 1839 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1840 |
|
} |
| 1841 |
|
|
| 1842 |
|
} |
| 1843 |
|
|