get_items( apply_filters( 'woocommerce_admin_order_item_types', 'line_item' ) ); $discounts = $order->get_items( 'discount' ); $line_items_fee = $order->get_items( 'fee' ); $line_items_shipping = $order->get_items( 'shipping' ); if ( wc_tax_enabled() ) { $order_taxes = $order->get_taxes(); $tax_classes = WC_Tax::get_tax_classes(); $classes_options = wc_get_product_tax_class_options(); $show_tax_columns = count( $order_taxes ) === 1; } ?>
get_subtotal(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?> | ||
- get_total_discount(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?> | ||
get_total_fees(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?> | ||
get_total_shipping(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?> | ||
label ); ?>: | get_total_tax(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?> | |
: | get_total(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?> | |
: | -get_total_refunded(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?> | |
: | get_total() - $order->get_total_refunded(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?> |
is_editable() ) : ?> get_total() - $order->get_total_refunded() || 0 < absint( $order->get_item_count() - $order->get_item_count_refunded() ) ) : ?> is_editable() ) : ?>