Widget: Fix incorrect duplicate formatting of float, loosing precision

This commit is contained in:
Raphael Michel
2017-11-30 07:52:17 +01:00
parent 8d90c9e03a
commit c7f1f67ee9

View File

@@ -212,7 +212,7 @@ Vue.component('pricebox', {
if (this.price.gross === "0.00") {
return strings.free;
} else {
return this.$root.currency + " " + floatformat(this.display_price, 2);
return this.$root.currency + " " + this.display_price;
}
},
taxline: function () {