Closure Groups
Executive Summary
Closure Groups lets administrators maintain named groups of closure dates, for example a "Statutory Holidays" group listing each day (and optionally the hours) on which a site is closed. Create a group here, then open it to add the individual closure dates. The groups are maintained inside the integration only; nothing on this screen is sent to AlayaCare.
Key Features
- Add closure groups
- Open a group to rename it
- Add, edit and delete the closure dates in a group, each with a name, a date and an optional from/to time
- A date with no times entered closes the whole day (00:00 to 23:59)
Typical Workflow
- Click Add, enter a Name and click Save.
- Click the edit icon (or right-click the group and choose Edit) to open the group.
- On the Dates tab, click Add, enter the date details, and click Save.
- Use the edit and delete icons on a date to correct or remove it.
- Use Edit beside the group name to rename the group, or the back link in the page title to return to the list.
Available Permissions
The following permissions are available to be assigned to AlayaCare Roles:
| Attribute | What It Controls |
|---|---|
| View | Open the page and its group detail page |
Main Grid
Lists every closure group (14 rows per page).
| Column | Description |
|---|---|
| Name | Name of the closure group. |
| Manage Records | Edit icon that opens the group. |
Actions
| Button | Description |
|---|---|
| Add | Opens the Closure Group dialog to create a group. |
| Edit (row icon, or right-click a row) | Opens the Closure Group Details page for that group. |
Dialog Components
Closure Group
Opens from Add. Enter the Name (required; "Name is required" is shown if it is blank) and click Save, or Cancel to close. The system records who added the group and when. Closure groups are not deleted from this screen.
Closure Group Details
Opens when you edit a group. The title bar has a back link to the list of groups. The Group Name is shown read-only; click Edit beside it to open a dialog where you can change the Name and click Save (a warning "Update Failed" is shown if the change cannot be saved).
Tabs
| Tab | Purpose |
|---|---|
| Dates | The closure dates that belong to the group. |
Dates - Grid
Lists the closure dates of the group (14 rows per page).
| Column | Description |
|---|---|
| Name | Name of the closure (for example the holiday name). |
| Date | Closure date. |
| From Time | Time the closure starts (HH:mm). |
| To Time | Time the closure ends (HH:mm). |
| Manage Records | Edit and delete icons. |
Dates - Grid Actions
| Button | Description |
|---|---|
| Add | Opens the Date dialog to add a closure date. |
| Edit (row icon, or right-click a row) | Opens the Date dialog for that date. |
| Delete (row icon, or right-click a row) | Deletes the date after you confirm "Are you sure you want to delete this date?". |
Date dialog
| Field | Description |
|---|---|
| Name | Name of the closure. Required. |
| Closure Date | Date of the closure. Required. |
| From Time | Start time, in 30-minute steps. If left blank, 00:00 is used. |
| To Time | End time, in 30-minute steps. If left blank, 23:59 is used. It must be later than the From Time, otherwise "To Time has to be later than from Time" is shown. |
The system records who last edited the date and when (and who added it).