mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Widget: Number input field should always have english decimal separator
This commit is contained in:
@@ -203,9 +203,9 @@ Vue.component('pricebox', {
|
||||
computed: {
|
||||
display_price: function () {
|
||||
if (this.$root.display_net_prices) {
|
||||
return floatformat(this.price.net, 2);
|
||||
return roundTo(parseFloat(this.price.net), 2).toFixed(2);
|
||||
} else {
|
||||
return floatformat(this.price.gross, 2);
|
||||
return roundTo(parseFloat(this.price.gross), 2).toFixed(2);
|
||||
}
|
||||
},
|
||||
priceline: function () {
|
||||
|
||||
Reference in New Issue
Block a user