Bugzilla – Attachment 56301 Details for
Bug 5670
Housebound Readers Module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5670: [QA Followup] Display HouseboundRole info.
Bug-5670-QA-Followup-Display-HouseboundRole-info.patch (text/plain), 2.32 KB, created by
Alex Sassmannshausen
on 2016-10-12 15:48:51 UTC
(
hide
)
Description:
Bug 5670: [QA Followup] Display HouseboundRole info.
Filename:
MIME Type:
Creator:
Alex Sassmannshausen
Created:
2016-10-12 15:48:51 UTC
Size:
2.32 KB
patch
obsolete
>From 2197aa562b8e2a723740315e669bac5bcb70ea1f Mon Sep 17 00:00:00 2001 >From: Alex Sassmannshausen <alex.sassmannshausen@ptfs-europe.com> >Date: Wed, 12 Oct 2016 14:30:36 +0200 >Subject: [PATCH] Bug 5670: [QA Followup] Display HouseboundRole info. > >* Koha/Patron.pm (housebound_role): New method. >* koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt: Add > section for HouseboundRole information >* members/moremember.pl: Pass HouseboundRole info to template. >--- > .../prog/en/modules/members/moremember.tt | 26 ++++++++++++++++++++++ > members/moremember.pl | 2 ++ > 2 files changed, 28 insertions(+) > >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 c5325e1..d4fece2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -348,6 +348,32 @@ function validate1(date) { > [% END %] > [% END %] > >+[% IF ( HouseboundModule ) %] >+<div id="houseboundroles"> >+<h3>Housebound roles</h3> >+<div class="rows"> >+ <ol> >+ <li> >+ <span class="label">Chooser:</span> >+ [% IF ( housebound_role.housebound_chooser == 1 ) %] >+ Yes >+ [% ELSE %] >+ No >+ [% END %] >+ </li> >+ <li> >+ <span class="label">Deliverer:</span> >+ [% IF ( housebound_role.housebound_deliverer == 1 ) %] >+ Yes >+ [% ELSE %] >+ No >+ [% END %] >+ </li> >+ </ol> >+</div> >+</div> >+[% END %] >+ > [% IF ( EnhancedMessagingPreferences ) %] > <div id="patron-messaging-prefs" style="padding-top: 1em;"> > <h3>Patron messaging preferences</h3> >diff --git a/members/moremember.pl b/members/moremember.pl >index 00e2600..e63c1b0 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -336,6 +336,8 @@ $template->param( > is_child => ($category_type eq 'C'), > samebranch => $samebranch, > quickslip => $quickslip, >+ housebound_role => $patron->housebound_role, >+ HouseboundModule => C4::Context->preference('HouseboundModule'), > privacy_guarantor_checkouts => $data->{'privacy_guarantor_checkouts'}, > activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), > AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), >-- >2.10.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 5670
:
3038
|
22162
|
22163
|
22164
|
22165
|
26816
|
27288
|
50930
|
51377
|
51875
|
54384
|
54385
|
55326
|
55334
|
55335
|
55336
|
55734
|
55735
|
55736
|
55737
|
55738
|
55739
|
55865
|
55866
|
55867
|
55890
|
55891
|
56298
|
56299
|
56300
|
56301
|
56302
|
56308
|
56337
|
56341
|
56346
|
56347
|
56348
|
56349
|
56350
|
56351
|
56352
|
56353
|
56354
|
56355
|
56356
|
56357
|
56358
|
56359
|
56360
|
56361
|
56362
|
56363
|
56364
|
56365
|
56366
|
56367
|
56368
|
56369
|
56580
|
56581
|
56582
|
56583
|
56584
|
56585
|
56586
|
56587
|
56588
|
56589
|
56590
|
56591
|
56592
|
56593
|
56594
|
56595
|
56596
|
56597
|
56598
|
56599
|
56600
|
56601
|
56602
|
56603
|
56604
|
56605
|
56606