You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user goes to the move-up model, they need to populate the availability of units. We should be able to automatically populate this information based on a "best guess".
The best guess is simple, given a current time, 2020-06-17T17:06:47-10:00
. Issue an ES query to find all responses (use the apparatus index) that have apparatus_data.unit_status.dispatched < 2020-06-17T17:06:47-10:00 and (apparatus_data.unit_status.cleared > 2020-06-17T17:06:47-10:00 || apparatus_data.unit_status.avaiable >). This query would return all units that were on a call at a given time. All these units should default to unavailable, and the rest should be available.
Acceptance Criteria
Add controls to the UI to auto-populate based on a given date.
Mockups / Screenshots
The text was updated successfully, but these errors were encountered:
Overview
When a user goes to the move-up model, they need to populate the availability of units. We should be able to automatically populate this information based on a "best guess".
The best guess is simple, given a current time,
2020-06-17T17:06:47-10:00
. Issue an ES query to find all responses (use the apparatus index) that have
apparatus_data.unit_status.dispatched < 2020-06-17T17:06:47-10:00 and (apparatus_data.unit_status.cleared > 2020-06-17T17:06:47-10:00 || apparatus_data.unit_status.avaiable >)
. This query would return all units that were on a call at a given time. All these units should default to unavailable, and the rest should be available.Acceptance Criteria
Mockups / Screenshots
The text was updated successfully, but these errors were encountered: