Bugzilla – Attachment 66156 Details for
Bug 19129
Clean up templates for organisation patrons in staff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19129 - Follow-up - Add changes to patron duplicate warning
Bug-19129---Follow-up---Add-changes-to-patron-dupl.patch (text/plain), 4.45 KB, created by
Katrin Fischer
on 2017-08-17 22:21:20 UTC
(
hide
)
Description:
Bug 19129 - Follow-up - Add changes to patron duplicate warning
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2017-08-17 22:21:20 UTC
Size:
4.45 KB
patch
obsolete
>From fbed075b056a27c34c95571b64496b34931e5962 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Fri, 18 Aug 2017 00:14:52 +0200 >Subject: [PATCH] Bug 19129 - Follow-up - Add changes to patron duplicate > warning > >Adds logic from the previous fix to the brief patron summary >shown when checking a possible patron duplicate. > >Bonus: Also fixes missing patron category description there. > >To Test: >- Add 2 patrons >- Add a patron with the same surname and firstname as an > existing patron in order to trigger the duplicate message >- Click "View existing patron" >- Verify display is correct when existing patron is > - an organisation > - not an organisation >- Verify that the patron category description shows >--- > .../prog/en/modules/members/moremember-brief.tt | 28 +++++++--------------- > 1 file changed, 9 insertions(+), 19 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt >index b95a4c0..9cf356d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt >@@ -26,27 +26,17 @@ > </div> > <div class="rows"> > <ol> >- [% IF ( I ) %] >- [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span>[% phonepro %]</li>[% END %] >- [% IF ( emailpro ) %]<li><span class="label">Organization email: </span>[% emailpro %]</li>[% END %] >- [% ELSE %] > [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %] > [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span>[% phonepro %]</li>[% END %] > [% IF ( mobile ) %]<li><span class="label">Other phone: </span>[% mobile %]</li>[% END %] >- [% END %] >- >- [% IF ( P ) %] >- [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %] >- [% IF ( mobile ) %]<li><span class="label">Other phone: </span>[% mobile %]</li>[% END %] >- [% END %] >- [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %] >- [% UNLESS ( I ) %] >- [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %] >- [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %] >- [% END %] >- <li><span class="label">Initials: </span>[% initials %]</li> >- <li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %]</li> >- <li><span class="label">Gender:</span>[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]</li>[% END %] >+ [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %] >+ [% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %] >+ [% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %] >+ [% UNLESS ( I ) %] >+ [% IF ( inititals ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %] >+ [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %]</li>[% END %] >+ [% IF ( sex ) %]<li><span class="label">Gender:</span>[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]</li>[% END %][% END %] >+ [% END %] > [% IF ( isguarantee ) %] > [% IF ( guaranteeloop ) %] > <li><span class="label">Guarantees:</span><ul>[% FOREACH guaranteeloo IN guaranteeloop %]<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guaranteeloo.borrowernumber %]">[% guaranteeloo.name %] </a></li>[% END %]</ul></li> >@@ -67,7 +57,7 @@ > <ol> > <li><span class="label">Card number: </span>[% cardnumber %]</li> > <li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li> >- <li><span class="label">Category: </span>[% description %] ([% categorycode %])</li> >+ <li><span class="label">Category: </span>[% categoryname %] ([% categorycode %])</li> > <li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li> > <li><span class="label">Expiration date: </span> > [% IF ( was_renewed ) %] >-- >2.7.4
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 19129
:
66152
|
66153
|
66155
|
66156
|
66257
|
66258
|
66713
|
66714