Add timetable additional lessons
This commit is contained in:
parent
422eba3441
commit
0f9d776039
2 changed files with 11 additions and 0 deletions
10
data/opiekun/lekcje-dodatkowe.json
Normal file
10
data/opiekun/lekcje-dodatkowe.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"Header": "Poniedziałek, 09.03.2020",
|
||||
"Descriptions": [
|
||||
{
|
||||
"Description": "14:50 - 15:35 zajęcia wyrównawcze dla kl. 6d"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
|
@ -570,6 +570,7 @@ router.all("/PlanZajec.mvc/Get", (req, res) => {
|
|||
},
|
||||
],
|
||||
"Rows": rows.map(row => [row.times, ...row.lessons]),
|
||||
"Additionals": require("../../data/opiekun/lekcje-dodatkowe")
|
||||
},
|
||||
"success": true
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue