From f7aeff5235dba4cdd86d7adad232881b75230089 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 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 Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../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 cec0472489..d0e8ba81f1 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.39.5