Fix additional lessons date
This commit is contained in:
parent
0f9d776039
commit
c96e3c7d5e
1 changed files with 6 additions and 1 deletions
|
@ -570,7 +570,12 @@ router.all("/PlanZajec.mvc/Get", (req, res) => {
|
|||
},
|
||||
],
|
||||
"Rows": rows.map(row => [row.times, ...row.lessons]),
|
||||
"Additionals": require("../../data/opiekun/lekcje-dodatkowe")
|
||||
"Additionals": require("../../data/opiekun/lekcje-dodatkowe").map(item => {
|
||||
return {
|
||||
...item,
|
||||
"Header": `poniedziałek, ${converter.formatDate(addDays(requestDate, 0))}`
|
||||
};
|
||||
})
|
||||
},
|
||||
"success": true
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue