fix(report): end the visit offer on the record's day from the server

The preparation window now carries to, the booked visit's own day on
the record's calendar, and the report offer uses it. Cutting the end in
the reader's zone was wrong for a guardian viewing a managed profile in
another zone.
This commit is contained in:
Marc-André Bombeck committed 2026-10-21 16:50:14 +02:00
1 parent fdecefd1d3
commit a3f5f998cf
8 files changed
+80 -14

No files matched your search

+5
View File
@@ -72152,6 +72152,10 @@ components:
type: string
description: "First day of the window, `YYYY-MM-DD` on the record's own calendar: the day of `since`, or 90 days before
today on `default`."
to:
type: string
description: The booked visit's own day, `YYYY-MM-DD` on the same calendar as `from` (the record's, not the reader's). A
report window offered for the appointment ends here.
basis:
type: string
enum:
@@ -72169,6 +72173,7 @@ components:
- type: "null"
required:
- from
- to
- basis
- since
additionalProperties: false