From 253534673b5be46adc020cba113a8f2598254515 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 21 Apr 2021 16:20:32 -0300 Subject: [PATCH] Bug 23207: (QA follow-up) Add new column on item types UI table Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- admin/columns_settings.yml | 3 +++ koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 2 ++ 2 files changed, 5 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 904cf65551..5b5ef32ea6 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -260,6 +260,9 @@ modules: columnname: checkin_message - columnname: library_limitations + - + columnname: automatic_checkin + is_hidden: 1 - columnname: actions cannot_be_toggled: 1 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt index a728f13df6..774b3da19b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -454,6 +454,7 @@ Item types › Administration › Koha Processing fee (when lost) Checkin message Library limitations + Automatic checkin Actions [% FOREACH itemtype IN itemtypes %] @@ -552,6 +553,7 @@ Item types › Administration › Koha No limitation [% END %] + [% IF ( itemtype.automatic_checkin ) %]Yes[% ELSE %] [% END %] Edit Delete -- 2.39.5