From 2ac26447d3217f8152bc12b5bce4ebfcace8ad13 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 23 Nov 2023 09:08:18 +0000 Subject: [PATCH] Bug 35389: Hide 'Transfer to send' if StockRotation disabled Content-Type: text/plain; charset=utf-8 Test plan: Disable StockRotation pref. Check if report is hidden on circ home. Enable. Check if report is visible. Signed-off-by: Marcel de Rooy --- .../prog/en/modules/circ/circulation-home.tt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt index f6dab7a013..d0266cb77d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt @@ -131,9 +131,11 @@ Transfer [% END %] -
  • - Transfers to send -
  • + [% IF Koha.Preference('StockRotation') %] +
  • + Transfers to send +
  • + [% END %]
  • Transfers to receive
  • -- 2.30.2