Bug 29456: (bug 18532 follow-up) handle Auto_Renewals messages in category
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Nov 2021 13:57:21 +0000 (14:57 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 19 Nov 2021 14:23:27 +0000 (15:23 +0100)
The new message appears in the list on the edit view, but the list view
is showing "unknown"

Test plan:
Set AutoRenewalNotices to "according to patron messaging prefs"
Edit a patron category
Tick all the checkboxes
On the category list view you should see a correct display in the
"Messaging" column

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt

index 25a44cd94999d61fb4974669d5ca1b36e9515316..5a305d139ba0aa1216bc43484856ec84345c6512 100644 (file)
                                                 [% ELSIF ( prefs.Item_Checkout ) %]Item checkout
                                                 [% ELSIF ( prefs.Ill_ready ) %]Interlibrary loan ready
                                                 [% ELSIF ( prefs.Ill_unavailable ) %]Interlibrary loan unavailable
+                                                [% ELSIF ( prefs.Auto_Renewals ) %]Auto renewal
                                                 [% ELSE %]Unknown
                                                 [% END %]:
                                                 <strong>[% transport.transport | html %]</strong><br />