Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APS-1678 AP day summary view #2293

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bobmeredith
Copy link
Contributor

@bobmeredith bobmeredith commented Jan 15, 2025

Context

https://dsdmoj.atlassian.net/browse/APS-1678

Changes in this PR

This PR adds the AP occupancy view page in a moderately basic form. The page loads the premisesDaySummary and shows the high-level information in a summary table. It also calculates any characteristic overbooking and shows a summary of this in the blue banner - only if there is a characteristic overbooking. The design doesn't appear to cover what to do in the event of a non-characteristic overbooking.

There are also a couple of navigation arrows to go to the next and previous days (the dates for which are sent by the API for some reason).

Since this functionality does not use the lists of bookings or lost beds (apart from counting the lost bed records for the summary) I've not yet added these lists in the factory for the day summary. That will come in the next ticket.

Screenshots of UI changes

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant