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: improve circulation dates #375

Merged
merged 1 commit into from
Jul 4, 2019

Conversation

BadrAly
Copy link

@BadrAly BadrAly commented Jul 4, 2019

Co-Authored-by: Aly Badr [email protected]

@BadrAly BadrAly requested a review from iGormilhit July 4, 2019 06:30
@BadrAly BadrAly changed the title circulation: transactions due dates are calculated based on he library where the transaction is conducted circulation: transactions due dates are calculated based on library where transaction is conducted Jul 4, 2019
@BadrAly BadrAly force-pushed the baa-policy-from-logged-user-library branch 2 times, most recently from 81a9a1e to 7c4fd29 Compare July 4, 2019 09:04
@BadrAly BadrAly changed the title circulation: transactions due dates are calculated based on library where transaction is conducted circulation: improve circulation dates Jul 4, 2019
Copy link
Contributor

@pronguen pronguen left a comment

Choose a reason for hiding this comment

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

Problem description:
Adding a day exception for 3rd August without filling the hours (see pic below) AND THEN doing a checkout with theoretical due date 3rd August. System should look for next open day, but it gives 3rd August as due date.

However, a period exception (more than one day) works perfectly.

image

@BadrAly BadrAly force-pushed the baa-policy-from-logged-user-library branch from 7c4fd29 to fc45d2a Compare July 4, 2019 12:36
* Fixes issue when a library exception opening day is considered as closed.
* Fixes closes rero#378.
* Fixes closes rero#263.
* Improves the calculation of the due date of a circulation transaction. Now it is based on the transaction library instead of item owning library.

Co-Authored-by: Aly Badr <[email protected]>
@BadrAly BadrAly requested a review from pronguen July 4, 2019 13:38
@BadrAly BadrAly force-pushed the baa-policy-from-logged-user-library branch from fc45d2a to e89cc9a Compare July 4, 2019 13:40
@BadrAly BadrAly merged commit 14d43e7 into rero:dev Jul 4, 2019
@BadrAly BadrAly deleted the baa-policy-from-logged-user-library branch July 5, 2019 05:58
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.

3 participants