Bugzilla – Attachment 106665 Details for
Bug 25336
Show checkouts/fines to guarantor is in the wrong section of the patron file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25336: Show checkouts/fines to guarantor is in the wrong section of the patron file
Bug-25336-Show-checkoutsfines-to-guarantor-is-in-t.patch (text/plain), 4.05 KB, created by
Caroline Cyr La Rose
on 2020-07-08 20:15:45 UTC
(
hide
)
Description:
Bug 25336: Show checkouts/fines to guarantor is in the wrong section of the patron file
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2020-07-08 20:15:45 UTC
Size:
4.05 KB
patch
obsolete
>From b6d7180d56a7b9d4b64abe6fc3576feea71fdec4 Mon Sep 17 00:00:00 2001 >From: David Roberts <david@koha-ptfs.co.uk> >Date: Sun, 3 May 2020 23:48:09 +0000 >Subject: [PATCH] Bug 25336: Show checkouts/fines to guarantor is in the wrong > section of the patron file > >This patch moves the "Show checkouts to guarantor" and "Show fines to >guarantor" data to display under the Contact information block > >To test: > >1) Enable the AllowStaffToSetCheckoutsVisibilityForGuarantor and AllowStaffToSetFinesVisibilityForGuarantor system preferences to Allow >2) View a patron record. >3) The "Show checkouts to guarantor" and "Show fines to guarantor" field >will be on the right hand side of the screen under the Library use >block. >4) Apply patch >5) Check that this data has now moved to the Contact information block >on the left hand side of the patron record. > >Works for me! > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >--- > .../prog/en/modules/members/moremember.tt | 36 +++++++++---------- > 1 file changed, 18 insertions(+), 18 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index b4351f4afa..5803963479 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -259,6 +259,24 @@ > </li> > [% END %] > [% END %] >+ <li id="patron-privacyguarantor"> >+ <span class="label">Show checkouts to guarantor</span> >+ [% IF patron.privacy_guarantor_checkouts %] >+ Yes >+ [% ELSE %] >+ No >+ [% END %] >+ </li> >+ >+ <li> >+ <span class="label">Show fines to guarantor</span> >+ [% IF patron.privacy_guarantor_fines %] >+ Yes >+ [% ELSE %] >+ No >+ [% END %] >+ </li> >+ > [% IF guarantees %] > <li> > <span class="label">Guarantees:</span> >@@ -499,24 +517,6 @@ > </li> > [% END %] > >- <li id="patron-privacyguarantor"> >- <span class="label">Show checkouts to guarantor</span> >- [% IF patron.privacy_guarantor_checkouts %] >- Yes >- [% ELSE %] >- No >- [% END %] >- </li> >- >- <li> >- <span class="label">Show fines to guarantor</span> >- [% IF patron.privacy_guarantor_fines %] >- Yes >- [% ELSE %] >- No >- [% END %] >- </li> >- > [% IF ( patron.sort1 ) %] > <li id="patron-sort1"> > <span class="label">Sort field 1:</span> >-- >2.17.1
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 25336
:
104243
|
106665
|
107901