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

Add isLoanable only for loans when choosing record set #5271

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

CarolineDenis
Copy link
Contributor

Fixes #5217

Checklist

  • Self-review the PR after opening it to make sure the changes look good
    and self-explanatory (or properly documented)
  • Add relevant issue to release milestone

Testing instructions

  • Take note of your prep types and which ones are loanable or not
  • Create a loan interaction
  • Enter the cat number of a CO that has some prep with prep type loanable and some not loanable (or a record set that contains such CO)
  • verify that only the prep with prep type loanable are proposed
  • Proceed with the same flow but for another interaction, gift by example
  • verify that the prep with prep type not loanable are presented as option

@CarolineDenis CarolineDenis added this to the 7.9.8 milestone Sep 12, 2024
@CarolineDenis CarolineDenis requested review from a team and maxpatiiuk and removed request for a team September 12, 2024 13:09
@CarolineDenis CarolineDenis requested review from a team and sharadsw October 1, 2024 19:54
@CarolineDenis CarolineDenis marked this pull request as ready for review October 1, 2024 19:55
Copy link
Collaborator

@emenslin emenslin left a comment

Choose a reason for hiding this comment

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

Testing instructions

  • Take note of your prep types and which ones are loanable or not
  • Create a loan interaction
  • Enter the cat number of a CO that has some prep with prep type loanable and some not loanable (or a record set that contains such CO)
  • verify that only the prep with prep type loanable are proposed
  • Proceed with the same flow but for another interaction, gift by example
  • verify that the prep with prep type not loanable are presented as option

Looks good, if a prep is marked as not loanable it does not show up in the loan prep dialog but does show up in other interactions.

@emenslin emenslin requested a review from a team October 1, 2024 20:54
Copy link
Collaborator

@combs-a combs-a left a comment

Choose a reason for hiding this comment

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

Testing instructions

  • Take note of your prep types and which ones are loanable or not
  • Create a loan interaction
  • Enter the cat number of a CO that has some prep with prep type loanable and some not loanable (or a record set that contains such CO)
  • verify that only the prep with prep type loanable are proposed
  • Proceed with the same flow but for another interaction, gift by example
  • verify that the prep with prep type not loanable are presented as option

Looks good--tested on superbotanydemo.

@CarolineDenis CarolineDenis requested review from melton-jason and removed request for acwhite211 and maxpatiiuk October 14, 2024 14:13
@CarolineDenis CarolineDenis merged commit 27734c9 into production Oct 21, 2024
12 checks passed
@CarolineDenis CarolineDenis deleted the issue-5217 branch October 21, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Cannot use a preparation in any interactions if isLoanable is false for its prepType
4 participants