From d75da0473afc1b349a3e5fcd6f067a84608f7ff6 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 29 Jan 2024 06:54:56 -0500 Subject: [PATCH] Bug 35924: Hide the print checkins button on the checkin screen for patron's who always anonymize Test Plan: 1) Set a patron's privacy to "Never" 2) Check out a few items to a patron 3) Check in one item 4) Note the "Print checkin slip" diplays 3) Apply this patch 4) Check in an item 5) Note the option is now missing 6) Set the patron's privacy to "Forever" or "Default" 7) Check in an item 8) Note the print checkins option is back! Signed-off-by: Andrew Fuerste Henry Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer (cherry picked from commit 19f38a286d52b4add421024e31ae232bc216a746) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index a177126da7..3486dfa086 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1318,7 +1318,9 @@ [% END %] - Print checkin slip + [% IF riloo.patron.privacy < 2 %] + Print checkin slip + [% END %] [% ELSE %] Not checked out [% END %] -- 2.39.5