From 61755f0f018ca913e099a19b39ec22bec72e2a59 Mon Sep 17 00:00:00 2001 From: Thomas Roberts <5656702+opr@users.noreply.github.com> Date: Wed, 26 May 2021 14:04:42 +0100 Subject: [PATCH] Fix display of itemised taxes (https://github.com/woocommerce/woocommerce-blocks/pull/4279) * Add price to itemised tax rates & hide Total when itemised taxes are on * Update snapshots for taxes in sidebar --- .../cart/test/__snapshots__/block.js.snap | 78 +++++++------------ .../sidebar/test/__snapshots__/index.js.snap | 39 ++++------ .../packages/checkout/totals/taxes/index.tsx | 27 ++++--- .../packages/checkout/totals/taxes/style.scss | 14 ++-- 4 files changed, 72 insertions(+), 86 deletions(-) diff --git a/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/test/__snapshots__/block.js.snap b/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/test/__snapshots__/block.js.snap index c8ffddf87b4..0a59806fc3a 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/test/__snapshots__/block.js.snap +++ b/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/test/__snapshots__/block.js.snap @@ -1312,35 +1312,26 @@ exports[`Testing cart Shows individual tax lines if the store is set to do so 1`