From 9ba5f534eaae8e208353babf8e3050ebec059039 Mon Sep 17 00:00:00 2001 From: nishitlangaliya Date: Fri, 9 Jun 2017 09:06:57 +0530 Subject: [PATCH] Fixed Don't show 'Restock refunded items' ref #14888 --- includes/admin/meta-boxes/views/html-order-items.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/admin/meta-boxes/views/html-order-items.php b/includes/admin/meta-boxes/views/html-order-items.php index 008faa87336..0bf6056c403 100644 --- a/includes/admin/meta-boxes/views/html-order-items.php +++ b/includes/admin/meta-boxes/views/html-order-items.php @@ -218,10 +218,12 @@ if ( wc_tax_enabled() ) { get_total() - $order->get_total_refunded() || 0 < absint( $order->get_item_count() - $order->get_item_count_refunded() ) ) : ?>