From f0a905024169a80b82a0ac1720f9911100f9d7db Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 9 Aug 2017 16:17:30 +0100 Subject: [PATCH] HTML --- .../meta-boxes/views/html-order-discount.php | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 includes/admin/meta-boxes/views/html-order-discount.php diff --git a/includes/admin/meta-boxes/views/html-order-discount.php b/includes/admin/meta-boxes/views/html-order-discount.php new file mode 100644 index 00000000000..148f530b1e6 --- /dev/null +++ b/includes/admin/meta-boxes/views/html-order-discount.php @@ -0,0 +1,45 @@ + + +
+ + +
+ get_name() ? $item->get_name() : __( 'Discount', 'woocommerce' ), 'fixed' === $item->get_discount_type() ? wc_price( $item->get_amount() ) : $item->get_amount() . '% off' ) ); + ?> +
+ + +   +   + + get_discount_total() ); ?> + + + + is_editable() ) : ?> +
+ +
+ + +