Skip to content

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

Merged
awalkowiak merged 3 commits intodevelopfrom
OBPIH-6329-fix
Jun 12, 2024
Merged

OBPIH-6329 Full outbound import - Details step (Fixes after QA)#4663
awalkowiak merged 3 commits intodevelopfrom
OBPIH-6329-fix

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
@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.

2 participants