Bugzilla – Attachment 160816 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.88 KB, created by
Martin Renvoize (ashimema)
on 2024-01-11 08:38:33 UTC
(
hide
)
Description:
Bug 35389: Hide 'Transfer to send' if StockRotation disabled
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-01-11 08:38:33 UTC
Size:
1.88 KB
patch
obsolete
>From 470c370d61e8c3e1270b711cbe61a8227e7f0deb 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 > >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> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../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 f6dab7a0136..d0266cb77df 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.43.0
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