|
@@ 1850-1852 (lines=3) @@
|
| 1847 |
|
// Show shipping excluding tax. |
| 1848 |
|
$shipping = wc_price( $this->order_shipping, array('currency' => $this->get_order_currency()) ); |
| 1849 |
|
|
| 1850 |
|
if ( $this->order_shipping_tax != 0 && $this->prices_include_tax ) { |
| 1851 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1852 |
|
} |
| 1853 |
|
|
| 1854 |
|
} else { |
| 1855 |
|
|
|
@@ 1859-1861 (lines=3) @@
|
| 1856 |
|
// Show shipping including tax. |
| 1857 |
|
$shipping = wc_price( $this->order_shipping + $this->order_shipping_tax, array('currency' => $this->get_order_currency()) ); |
| 1858 |
|
|
| 1859 |
|
if ( $this->order_shipping_tax != 0 && ! $this->prices_include_tax ) { |
| 1860 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1861 |
|
} |
| 1862 |
|
|
| 1863 |
|
} |
| 1864 |
|
|