Koha/installer/data/mysql
Jonathan Druart d3e459289f Bug 16344: Add a circ rule to limit the auto renewals given a specific
This patch adds a new circulation rule (no_auto_renewal_after_hard_limit) to block/allow
auto renewals after a given date.
The idea is to stop renewals at a given date. That way the library will have
time to send overdues and get the books back before the students do on holiday.

Test plan:
0/ Execute the update DB entry
1/ Define a rule with no_auto_renewal_after_hard_limit set to tomorrow
2/ Modify the issues.issuedate, to simulate a checkout in the past:
    UPDATE issues
    SET issuedate = "yyyy-mm-dd hh:mm:ss"
    WHERE itemnumber = YOUR_ITEMNUMBER;
with issuedate = 2 days before for instance
3/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl)
Confirm that the issue has been renewed
4/ Modify the no_auto_renewal_after_hard_limit and set it to yesterday
5/ Execute the automatic renewals cronjob script (misc/cronjobs/automatic_renewals.pl)
Confirm that the issue has not been renewed

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>
Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-04-28 09:15:21 -04:00
..
atomicupdate Bug 16344: Add a circ rule to limit the auto renewals given a specific 2017-04-28 09:15:21 -04:00
de-DE Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
en Bug 17855: Onboarding tool 2017-04-28 08:36:19 -04:00
es-ES Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
fr-CA Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
fr-FR Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
it-IT Update Italian installer sample files for 17.05 2017-04-28 08:34:23 -04:00
mandatory Bug 17518: Displayed language name for Czech is wrong 2016-11-02 11:00:35 +00:00
nb-NO Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
pl-PL Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
ru-RU Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
uk-UA Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
audio_alerts.sql
backfill_statistics.pl
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 16344: Add a circ rule to limit the auto renewals given a specific 2017-04-28 09:15:21 -04:00
labels_upgrade.pl
patroncards_upgrade.pl
sysprefs.sql Bug 14224: Replace AllowIssueNotes with AllowCheckoutNotes 2017-04-28 09:03:22 -04:00
update22to30.pl
updatedatabase.pl Bug 14224 - DBRev 16.12.00.029 2017-04-27 19:10:59 +00:00
userflags.sql Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
userpermissions.sql Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00