forked from CGM_Public/pretix_original
Widget: Fix incorrect duplicate formatting of float, loosing precision
This commit is contained in:
@@ -212,7 +212,7 @@ Vue.component('pricebox', {
|
|||||||
if (this.price.gross === "0.00") {
|
if (this.price.gross === "0.00") {
|
||||||
return strings.free;
|
return strings.free;
|
||||||
} else {
|
} else {
|
||||||
return this.$root.currency + " " + floatformat(this.display_price, 2);
|
return this.$root.currency + " " + this.display_price;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
taxline: function () {
|
taxline: function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user