Bugzilla – Attachment 159204 Details for
Bug 35389
Hide 'Transfers to send' on circulation home page when stock rotation is disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35389: Hide 'Transfer to send' if StockRotation disabled
Bug-35389-Hide-Transfer-to-send-if-StockRotation-d.patch (text/plain), 1.85 KB, created by
Marcel de Rooy
on 2023-11-23 09:11:26 UTC
(
hide
)
Description:
Bug 35389: Hide 'Transfer to send' if StockRotation disabled
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-11-23 09:11:26 UTC
Size:
1.85 KB
patch
obsolete
>From 2ac26447d3217f8152bc12b5bce4ebfcace8ad13 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >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 <m.de.rooy@rijksmuseum.nl> >--- > .../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 @@ > <a class="circ-button" href="/cgi-bin/koha/circ/branchtransfers.pl"><i class="fa-solid fa-right-left"></i> Transfer</a> > </li> > [% END %] >- <li> >- <a class="circ-button" href="/cgi-bin/koha/circ/transfers_to_send.pl"><i class="fa-solid fa-right-from-bracket"></i> Transfers to send</a> >- </li> >+ [% IF Koha.Preference('StockRotation') %] >+ <li> >+ <a class="circ-button" href="/cgi-bin/koha/circ/transfers_to_send.pl"><i class="fa-solid fa-right-from-bracket"></i> Transfers to send</a> >+ </li> >+ [% END %] > <li> > <a class="circ-button" href="/cgi-bin/koha/circ/transferstoreceive.pl"><i class="fa-solid fa-right-to-bracket"></i> Transfers to receive</a> > </li> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35389
:
159204
|
160816
|
161178