feedingamerica / freshtrak-public

FreshTrak public access created with Can't Stop Columbus March 2020
4 stars 3 forks source link

Pantry Results - Resource Events - add Reserve Time #30

Open karengreene opened 4 years ago

karengreene commented 4 years ago

As a person in need, I want to be able to reserve a time to pick up my food so that it is easier and faster to get my food box.


Screen Details

This enhancement is for the Pantries in the 'Resource Events' section. If the pantry accepts reservations, then show 'Reserve Time' button. This can be done using the event_date record. For the event_date record, if accept_reservations =1 Then display reserve time button is shown.

If the user is not logged in, then prompt to login and go thorough registration if user does not already have an account.


Acceptance Criteria

AC Given that pantries exist for zip code served And pantries returned accept reservations When pantries are displayed Then those pantries in 'Resource Events' section will have 'Reserve Time' button

AC Given that pantries exist for zip code served And pantries returned do NOT accept reservations When pantries are displayed Then those pantries in 'Resource Events' section will have 'Pre-Register' button

AC Given that pantries exist for zip code served And pantries returned accept reservations And user is logged in and has valid account When 'Reserve Time' is clicked Then 'Reservation' flow will be initiated and user will be guided through making a reservation

AC Given that pantries exist for zip code served And pantries returned accept reservations And user is NOT logged in When 'Reserve Time' is clicked Then User will be prompted to login