]> git.koha-community.org Git - koha.git/commit
Bug 15705: Notify the user on auto renewing
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Jan 2016 16:57:21 +0000 (16:57 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 9 May 2017 21:09:08 +0000 (21:09 +0000)
commit14fb70aa01b59020f6d610d6b72c21f5a4d01c1b
tree78b241dadad1a29397bd25b9e17219cac27eeb6c
parent115d4f7d2fd8a3550eb6272d50f91f1d05a513a2
Bug 15705: Notify the user on auto renewing

When an issue is auto renewed, a notice will be sent to the patron.
The notice will tell if the renewed has been successfully done.

Note that this patch is not ready to be pushed yet, as it has some
defects:
- 1 notice per issue
- no way to disable the notice generation
- no way to specify patron categories to enable/disable the
  notifications

Test plan:
Use the automatic_renewals.pl script to auto renew issues.
If the auto renew has failed or succeeded, a notice will be generated in the
message_queue table.
If the error is "too_soon" or is the same as the previous error, the
notice won't be generated (we do not want to spam the patron).

Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>
Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
misc/cronjobs/automatic_renewals.pl