From aa69bd8e46cd1a6fd11ff713ec5f4ba84f913737 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 --- 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 904cf65551e..5b5ef32ea60 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 a728f13df66..774b3da19b4 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.31.1