- Vielen Dank für Ihre Anfrage. Wir werden Sie schnellstmöglich bearbeiten.
+ Vielen Dank für Ihre Anfrage. Wir werden diese schnellstmöglich bearbeiten.
@@ -123,8 +123,6 @@
import axios from 'axios';
export default {
- components: {
- },
props: {
loaderUri: {
type: String,
@@ -170,7 +168,20 @@
if (0 === value) {
return '-';
}
- return parseFloat(value).toFixed(2).replace(/\./, ',') + '€';
+ return parseFloat(value).toFixed(2).replace(/\./, ',') + ' €';
+ },
+ formatOptionPriceType (option) {
+ if (2 === option.type) {
+ return ' ('+this.formatCurrency(option.price)+' pro Person)';
+ }
+ if (3 === option.type) {
+ return ' ('+this.formatCurrency(option.price)+' pro Nacht)';
+ }
+ if (4 === option.type) {
+ return ' ('+this.formatCurrency(option.price)+' pro Person und Nacht)';
+ }
+
+ return ' ('+this.formatCurrency(option.price)+')';
},
initSelectableRanges () {
let enabledDates = [];