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

OBPIH-6329 Full outbound import - Details step (Fixes after QA) #4663

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

kchelstowski
Copy link
Collaborator

  • origin is filled by default with the current location
  • date shipped validation (can't be date from the past)
  • expected delivery date validation (can't be before the date shipped)

* @param laterDate
* @param earlierDate
*/
export const validateOneAfterAnotherDate = (laterDate, earlierDate) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validateOneAfterAnotherDate - "Method to check if first date is later than the second date", but you check isSameOrAfter.

@awalkowiak awalkowiak merged commit 652edf8 into develop Jun 12, 2024
2 checks passed
@awalkowiak awalkowiak deleted the OBPIH-6329-fix branch June 12, 2024 11:22
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.

None yet

2 participants