Add support for other substitution types

- Store and display original substitution type text
- Treat "eigenverantwortliches Arbeiten" as cancellation
This commit is contained in:
2023-08-27 18:00:09 +02:00
parent 2895efc43b
commit 0cb55eaf68
6 changed files with 33 additions and 15 deletions

View File

@ -177,6 +177,7 @@ export async function getSubstitutions(req, res) {
id: element.id,
class: element.class,
type: element.type,
rawType: element.rawType,
lesson: element.lesson,
date: new Date(element.date).getTime(),
notes: element.notes,