Code Duplication    Length = 3-3 lines in 2 locations

includes/abstracts/abstract-wc-order.php 2 locations

@@ 1501-1503 (lines=3) @@
1498
				// Show shipping excluding tax.
1499
				$shipping = wc_price( $this->get_shipping_total(), array( 'currency' => $this->get_currency() ) );
1500
1501
				if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) {
1502
					$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', '&nbsp;<small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display );
1503
				}
1504
			} else {
1505
1506
				// Show shipping including tax.
@@ 1509-1511 (lines=3) @@
1506
				// Show shipping including tax.
1507
				$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array( 'currency' => $this->get_currency() ) );
1508
1509
				if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) {
1510
					$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', '&nbsp;<small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display );
1511
				}
1512
			}
1513
1514
			$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_shipped_via', '&nbsp;<small class="shipped_via">' . sprintf( __( 'via %s', 'woocommerce' ), $this->get_shipping_method() ) . '</small>', $this );