Skip to content
Snippets Groups Projects

Resolve "Do not allow to add personal notes for cancelled lessons"

Merged Jonathan Weth requested to merge 82-do-not-count-cancelled-lessons into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -371,7 +371,7 @@ def full_register_group(request: HttpRequest, id_: int) -> HttpResponse:
filter=Q(
personal_notes__absent=True,
personal_notes__lesson_period__lesson__validity__school_term=current_school_term,
)
),
),
excused=Count(
"personal_notes__absent",
Loading