]> git.koha-community.org Git - koha.git/commit
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)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Thu, 26 Mar 2020 22:01:38 +0000 (11:01 +1300)
commita809b16949087a0861f6d9ac8d4cdef56c745e3d
tree9793f105b25a851ebeedc340182bcaca73bb98f1
parent93d0d201104d700c51cd74b05b1454f63e8fe627
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>
(cherry picked from commit 0ff5dc25ffac4c13c68b8a2db9046e844f23d028)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 7b0d904f88c99fe15c1e0be6d386fc56ffd983eb)

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
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]