Bug 13625: Change messaging preferences descriptions according to RenewalSendNotice
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 21 Sep 2020 05:08:32 +0000 (05:08 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Oct 2020 12:50:07 +0000 (14:50 +0200)
commitc760a8d381f185d504477db90b85fc8168a9f769
tree66e5ba91e739df23f1789b896d78058c66819ed4
parent71c15cf502b57ad8d149097915cded46a7042326
Bug 13625: Change messaging preferences descriptions according to RenewalSendNotice

Sending out renewal notices depends on the RenewalSendNotice and the
patron having the checkout notice checked in their messaging
preferences.

To test:
- Apply patch
- Take a look at the messaging preferences table on the following pages:
  - OPAC > patron account > your messaging tab
  - Staff interface > patron account > details tab
  - Staff interface > patron account > edit patron
- Toggle the RenewalSendNotice preferences
  - The label on the last notice should switch between "Item checkout"
    and "Item checkout and renewal" depending on the pref setting

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt