From 6176cb6b77c45c61c8f6a0df928009db47b533a7 Mon Sep 17 00:00:00 2001 From: claudiosmweb Date: Sun, 20 Jul 2014 00:21:33 -0300 Subject: [PATCH] allow multiple taxes columns in order items --- .../meta-boxes/views/html-order-coupon.php | 14 +++----- .../admin/meta-boxes/views/html-order-fee.php | 32 ++++++++++++------- .../meta-boxes/views/html-order-item.php | 5 ++- .../meta-boxes/views/html-order-refund.php | 8 ++--- .../meta-boxes/views/html-order-shipping.php | 18 ++++------- includes/admin/wc-admin-functions.php | 11 +++++-- 6 files changed, 48 insertions(+), 40 deletions(-) diff --git a/includes/admin/meta-boxes/views/html-order-coupon.php b/includes/admin/meta-boxes/views/html-order-coupon.php index f99f65e553a..b377eaab59a 100644 --- a/includes/admin/meta-boxes/views/html-order-coupon.php +++ b/includes/admin/meta-boxes/views/html-order-coupon.php @@ -20,12 +20,6 @@ if ( ! defined( 'ABSPATH' ) ) { - - - - - - 1 @@ -34,11 +28,13 @@ if ( ! defined( 'ABSPATH' ) ) { - + - + - + + + diff --git a/includes/admin/meta-boxes/views/html-order-fee.php b/includes/admin/meta-boxes/views/html-order-fee.php index 7eaaed7107e..c6776279ddc 100644 --- a/includes/admin/meta-boxes/views/html-order-fee.php +++ b/includes/admin/meta-boxes/views/html-order-fee.php @@ -29,22 +29,32 @@ if ( ! defined( 'ABSPATH' ) ) { + + ?> - -
- -
- - + +
+ +
+ + - + - + diff --git a/includes/admin/meta-boxes/views/html-order-item.php b/includes/admin/meta-boxes/views/html-order-item.php index 3bb1974628b..35a1ef2c825 100644 --- a/includes/admin/meta-boxes/views/html-order-item.php +++ b/includes/admin/meta-boxes/views/html-order-item.php @@ -177,11 +177,14 @@ if ( ! defined( 'ABSPATH' ) ) { diff --git a/includes/admin/meta-boxes/views/html-order-refund.php b/includes/admin/meta-boxes/views/html-order-refund.php index 6faf7dc3229..91e6953a891 100644 --- a/includes/admin/meta-boxes/views/html-order-refund.php +++ b/includes/admin/meta-boxes/views/html-order-refund.php @@ -39,13 +39,13 @@ if ( ! defined( 'ABSPATH' ) ) { - + - + - + - +
diff --git a/includes/admin/meta-boxes/views/html-order-shipping.php b/includes/admin/meta-boxes/views/html-order-shipping.php index 0fc1546d107..572b8765ddb 100644 --- a/includes/admin/meta-boxes/views/html-order-shipping.php +++ b/includes/admin/meta-boxes/views/html-order-shipping.php @@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
-