Bug 18486 - Calendar maintenance script: correct dates
Summary: Calendar maintenance script: correct dates
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Holidays (show other bugs)
Version: Main
Hardware: All All
: P3 enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 17015
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-24 09:33 UTC by Michal Denar
Modified: 2017-04-26 13:42 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Denar 2017-04-24 09:33:49 UTC
User case:
Some holiday need to be added just couple of days before. We need tool that corect date of check-ins or pickup days on new the closest working day, if some changes in calendar are made. Script find dates for check-ins and pickups at new holiday and validate them with new schedule.
Comment 1 Mehdi Hamidi 2017-04-24 15:19:56 UTC
Hello Mike, 

our calendar  (https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17015) is supposed to handle this already, not as a maintenance script, but when calculating fines, the borrower won't be charged for the extra day.  

Can you try your scenario and let us know?

Thanks!

Mehdi Hamidi
Comment 2 Michal Denar 2017-04-26 06:50:39 UTC
Hello Mehdi,
is great if your new calendar solve fines. But at my point of view is it part of problem. If dates are not corrected on new close working day, user see this date in profile, librarians in details of title. It can make chaos situations and really to confuse borrowers.

What did you think about this?

Mike
Comment 3 Mehdi Hamidi 2017-04-26 13:42:20 UTC
Hello Mike,

Unfortunately our calendar doesn't support this. 
But if a holiday was added after the checkout, it can also be removed before the check-in. This might not be a good idea to adjust the dates every time. I think as long as the borrower doesn't pay a fine for the extra days, there's not a real need for a maintenance script.

Mehdi Hamidi