From 3c17d05d05c3427f409712acda8f3e45823943a1 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Tue, 18 Aug 2026 16:19:36 +0200 Subject: [PATCH] Widget: fix hiding taxline when rate is 0 (Z#23243324) (#6486) --- src/pretix/static/pretixpresale/js/widget/widget.js | 2 +- .../static/pretixpresale/widget/src/components/PriceBox.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/static/pretixpresale/js/widget/widget.js b/src/pretix/static/pretixpresale/js/widget/widget.js index 232c9ecd1..526ab0f59 100644 --- a/src/pretix/static/pretixpresale/js/widget/widget.js +++ b/src/pretix/static/pretixpresale/js/widget/widget.js @@ -345,7 +345,7 @@ Vue.component('pricebox', { + ' :min="display_price_nonlocalized" :value="suggested_price_nonlocalized" :name="field_name"' + ' step="any" v-bind:aria-labelledby="aria_labelledby" v-bind:aria-describedby="price_desc_id">' + '' - + '' + + '' + '{{ taxline }}' + '' + ''), diff --git a/src/pretix/static/pretixpresale/widget/src/components/PriceBox.vue b/src/pretix/static/pretixpresale/widget/src/components/PriceBox.vue index 858c5c991..4b0d78b01 100644 --- a/src/pretix/static/pretixpresale/widget/src/components/PriceBox.vue +++ b/src/pretix/static/pretixpresale/widget/src/components/PriceBox.vue @@ -86,7 +86,7 @@ const taxline = computed(() => { } }) -const showTaxline = computed(() => props.price.rate !== '0.00' && props.price.gross !== '0.00') +const showTaxline = computed(() => props.price.rate !== '0' && props.price.gross !== '0.00')