Bugzilla – Attachment 162697 Details for
Bug 35924
The 'checkin slip' button should not be available for patrons whose privacy is set to never
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35924: Hide the print checkins button on the checkin screen for patron's who always anonymize
Bug-35924-Hide-the-print-checkins-button-on-the-ch.patch (text/plain), 2.11 KB, created by
Victor Grousset/tuxayo
on 2024-03-03 00:10:05 UTC
(
hide
)
Description:
Bug 35924: Hide the print checkins button on the checkin screen for patron's who always anonymize
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-03-03 00:10:05 UTC
Size:
2.11 KB
patch
obsolete
>From 058120abb49f6311f58ab80bf6e166b573da7297 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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 <andrewfh@dubcolib.org> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > 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 6aecdfefbe..7db81178ac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -1334,7 +1334,9 @@ > </span> > </span> > [% END %] >- <a class="btn btn-default btn-xs printcheckinslip" href="#" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a> >+ [% IF riloo.patron.privacy < 2 %] >+ <a class="btn btn-default btn-xs printcheckinslip" href="#" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a> >+ [% END %] > [% ELSE %] > Not checked out > [% END %] >-- >2.44.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 35924
:
161592
|
161593
|
161734
|
161735
|
162696
| 162697 |
162698