Update soup price in loadWeekData and fix price translation in formatDayContent

This commit is contained in:
Mateo Körber Belmonte
2026-03-04 07:07:29 +01:00
parent c28f8e91ca
commit 2cc1289a15
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -206,7 +206,7 @@ function loadWeekData(week) {
dailyPriceInput.value = "Business Lunch 6,00 € / 4,20 €"; dailyPriceInput.value = "Business Lunch 6,00 € / 4,20 €";
} }
if (!soupPriceInput.value) { if (!soupPriceInput.value) {
soupPriceInput.value = "Großer Teller 4,00 € / Kleiner Teller 2,00 €"; soupPriceInput.value = "Großer Teller 4,60 € / Kleiner Teller 2,30 €";
} }
}); });
@@ -232,7 +232,7 @@ function loadWeekData(week) {
dailyPriceInput.value = "Business Lunch 6,00 € / 4,20 €"; dailyPriceInput.value = "Business Lunch 6,00 € / 4,20 €";
} }
if (!soupPriceInput.value) { if (!soupPriceInput.value) {
soupPriceInput.value = "Großer Teller 4,00 € / Kleiner Teller 2,00 €"; soupPriceInput.value = "Großer Teller 4,60 € / Kleiner Teller 2,30 €";
} }
} }
} }
+1 -1
View File
@@ -136,7 +136,7 @@ function formatDayContent(menuData, dailyData, language, germanMenuData, germanD
main: dailyData?.daily_soup || defaultData.dailySoup, main: dailyData?.daily_soup || defaultData.dailySoup,
side: '', side: '',
// Translate the text parts of the soup price but maintain German number format // Translate the text parts of the soup price but maintain German number format
price: translatePriceText(germanDailyData?.daily_soup_price || defaultData.dailySoupPrice, isGerman), price: translatePriceText(germanDailyData?.soup_price || defaultData.dailySoupPrice, isGerman),
special: dailyData?.soup_halal ? '„HALAL"' : (dailyData?.soup_veggi ? '„veggi"' : '') special: dailyData?.soup_halal ? '„HALAL"' : (dailyData?.soup_veggi ? '„veggi"' : '')
} }
}; };