B-21378: UB RDD Remove Starting Day After Pickup #14958
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Agility ticket
I-13936
Summary
Was brought up in POA that the day was off by one. Adding the transit time to the day after scheduled pickup date is not what is wanted. I am removing that logic here. Testing is the same. Take the scheduled pickup date plus the transit time. NOT day after pickup date.
Is there anything you would like reviewers to give additional scrutiny?
this article explains more about the approach used.
Verification Steps for the Author
These are to be checked by the author.
Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code
How to test
Different addresses and the ubTransitTimes added: add the UBTransit time to the scheduled pickup day.
(Pickup Address, Destination Address, UbTransitTime)
(GA, Chugach AK 99686 (AK Zone I ), 23)
(MN, Chicken AK 99732 (AK Zone II ), 21)
(WV, Anderson AK 99744 (AK Zone II ), 23)
(WV, Kodiak AK 99697 (AK Zone III ), 27)
(NC, Ketchikan AK 99901 (AK Zone IV), 27)
(Chugach AK 99686 (AK Zone I ), OR, 17)
Frontend
officeApp
class or custommin-width
styling is used to hide any states the would not be visible to the user.Backend
Database
Any new migrations/schema changes:
Screenshots