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

circulation: fix transaction end_date. #1532

Merged

Conversation

zannkukai
Copy link
Contributor

If a transaction end date is used for a checkout, it's possible that
this date is a business closed date for the related library. In this
case, the transaction end_date will be update on the next open day.

Co-Authored-by: Renaud Michotte [email protected]

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Cypress tests successful?

@zannkukai zannkukai self-assigned this Dec 1, 2020
@zannkukai zannkukai requested review from BadrAly and lauren-d December 1, 2020 14:53
@zannkukai zannkukai force-pushed the zan-fix-transaction-requested-on-closed-date branch from 458a975 to 25665b5 Compare December 1, 2020 14:56
@zannkukai zannkukai force-pushed the zan-fix-transaction-requested-on-closed-date branch from 25665b5 to b613d31 Compare December 1, 2020 16:42
@zannkukai zannkukai marked this pull request as ready for review December 2, 2020 07:27
@zannkukai zannkukai marked this pull request as draft December 2, 2020 07:48
@zannkukai zannkukai marked this pull request as ready for review December 2, 2020 07:48
@zannkukai zannkukai force-pushed the zan-fix-transaction-requested-on-closed-date branch from b613d31 to 157ebce Compare December 2, 2020 07:56
Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

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

Commit message minor corrections:

circulation: fix transaction end_date

If a transaction end date is used for a checkout, it's possible that
this date is a non business day of the related library. In this
case, the transaction end_date will be updated on the next business day.

@zannkukai zannkukai force-pushed the zan-fix-transaction-requested-on-closed-date branch from 157ebce to a309bf7 Compare December 7, 2020 10:41
If a transaction end date is used for a checkout, it's possible that
this date is a non business day of the related library. In this
case, the transaction end_date will be updated on the next business day.

Co-Authored-by: Renaud Michotte <[email protected]>
@zannkukai zannkukai force-pushed the zan-fix-transaction-requested-on-closed-date branch from a309bf7 to c7cfb98 Compare December 7, 2020 13:54
@zannkukai zannkukai merged commit ca4252d into rero:dev Dec 7, 2020
@zannkukai zannkukai deleted the zan-fix-transaction-requested-on-closed-date branch December 7, 2020 15:07
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.

4 participants