Bug 24846: Add new tool to batch extend due dates
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Mar 2020 10:45:44 +0000 (11:45 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 23 Mar 2020 23:34:00 +0000 (23:34 +0000)
commit0ff5dc25ffac4c13c68b8a2db9046e844f23d028
tree0b04b835ee1a37dd6dd4a3ae7bf8d4b409639872
parent32e5ec841a748249462189846c267a5078febe81
Bug 24846: Add new tool to batch extend due dates

With events sometimes leading to unforeseen branch closures (think Coronavirus as
an example), it would be helpful to have a tool that would allow librarians to
update due dates in bulk based on branch and current due date of the material.

It allows to select checkouts given the following parameters:
 * libraries
 * patron's categories
 * range of the due date

You can set a hard due date, or define a number of days to extend the
due date.

Test plan:
Check some items out
Use the new tool to extend the due dates
Test the different filters to make sure they all work

Note: What about holidays?

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt [new file with mode: 0644]
tools/batch_extend_due_dates.pl [new file with mode: 0755]