TUM-Dev/eat-api

Mediziner-Preis Mensa - Postpone fix until mensa is open again.

lukasdenk opened this issue · 1 comments

Postpone fixing the issue

Currently the mediziner canteen seems to be closed. At least I could not find it in the page where the canteen's menu was published before (see here). We do not know whether they will have changed there menu format when they open again. Therefore, fixing this issue should be postponed until the canteen opens again.

The issue

In the parsed PDF of the menu, several menus are listed in a category. The price is then given once per category:

Suppe Hauptkomponente Beilagen zur Wahl Dessert
****************************************************************************************************************************************
Montag, 29.10.2018
Gekochtes Ochsenfleisch R mit Meerrettich 3,5,N,V
Spinatcreme- Auswahl von verschiedenen Beilagen, Auswahl von
suppe Kürbisauflauf 1,2 B,Y,N Gemüsen und Desserts verschiedenen
B,N Tagesdesserts
Extraessen
Asiatische Gemüse-Puten-Pfanne G,B,E,M,U
mit Reisnudeln
3,80 €

However, the parser seems to only parse the dish for the last menu of a category:

"name": "Gekochtes Ochsenfleisch mit Meerrettich",
"prices": {
"students": {
"base_price": "N/A",
"price_per_unit": null,
"unit": null
},
"staff": {
"base_price": "N/A",
"price_per_unit": null,
"unit": null
},
"guests": {
"base_price": "N/A",
"price_per_unit": null,
"unit": null
}
},

COM8 commented

They are open again and I'm currently in contact with them how we can obtain the dishes from them again.