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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 19 Mar 2020 08:56:38 +0000 (08:56 +0000)
commitc7084c4c27313dc14b29e958469f6ef8d8b21b4a
treedc71814749a40eac28adc350ec9bcfc67b6e109c
parent18a56d014641f5b5e30126c52612acbe2025268d
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>
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]