forked from CGM_Public/pretix_original
Widget: Number input field should always have english decimal separator
This commit is contained in:
@@ -203,9 +203,9 @@ Vue.component('pricebox', {
|
|||||||
computed: {
|
computed: {
|
||||||
display_price: function () {
|
display_price: function () {
|
||||||
if (this.$root.display_net_prices) {
|
if (this.$root.display_net_prices) {
|
||||||
return floatformat(this.price.net, 2);
|
return roundTo(parseFloat(this.price.net), 2).toFixed(2);
|
||||||
} else {
|
} else {
|
||||||
return floatformat(this.price.gross, 2);
|
return roundTo(parseFloat(this.price.gross), 2).toFixed(2);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
priceline: function () {
|
priceline: function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user