Skip to content
Snippets Groups Projects
Commit f7cd3e7a authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '73-show-imported-extra-lessons-and-events-in-substitutions-table' into 'master'

Resolve "Show imported extra lessons and events in substitutions table"

Closes #73

See merge request !194
parents cafb169b 961a6161
No related branches found
No related tags found
1 merge request!194Resolve "Show imported extra lessons and events in substitutions table"
Pipeline #194044 failed
......@@ -158,6 +158,7 @@ def import_absences(
datetime_end=affected_event["DTEND"].dt,
defaults=dict(
cancelled=True,
current_change=True,
slot_number_start=ref_object.slot_number_start,
slot_number_end=ref_object.slot_number_end,
),
......
......@@ -117,6 +117,7 @@ def import_events(
"slot_number_start": slot_start.period,
"slot_number_end": slot_end.period,
"cancelled": False,
"current_change": True,
},
)
......
......@@ -169,6 +169,7 @@ def import_substitutions(
"comment": comment,
"slot_number_start": lesson.slot_start.period,
"slot_number_end": lesson.slot_end.period,
"current_change": True,
},
)
......@@ -215,6 +216,7 @@ def import_substitutions(
"comment": comment,
"slot_number_start": slot.period,
"slot_number_end": slot.period,
"current_change": True,
},
)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment