Bugzilla – Attachment 14194 Details for
Bug 7067
allow patron self registration via the opac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7067 - Followup - Add note to circulation.pl if borrower has pending modifications
Bug-7067---Followup---Add-note-to-circulationpl-if.patch (text/plain), 2.49 KB, created by
Kyle M Hall (khall)
on 2012-12-18 19:21:33 UTC
(
hide
)
Description:
Bug 7067 - Followup - Add note to circulation.pl if borrower has pending modifications
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-12-18 19:21:33 UTC
Size:
2.49 KB
patch
obsolete
>From bc367de2c19b70f087aa5ecbd371b9e4be4898b4 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 18 Dec 2012 14:18:16 -0500 >Subject: [PATCH] Bug 7067 - Followup - Add note to circulation.pl if borrower has pending modifications > >--- > circ/circulation.pl | 2 ++ > .../prog/en/modules/circ/circulation.tt | 8 ++++++++ > 2 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 91fd1a2..e5d0fa4 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -39,6 +39,7 @@ use C4::Context; > use CGI::Session; > use C4::Members::Attributes qw(GetBorrowerAttributes); > use Koha::DateUtils; >+use Koha::Borrower::Modifications; > > use Date::Calc qw( > Today >@@ -740,6 +741,7 @@ $template->param( > export_remove_fields => C4::Context->preference("ExportRemoveFields"), > export_with_csv_profile => C4::Context->preference("ExportWithCsvProfile"), > canned_bor_notes_loop => $canned_notes, >+ borrower_modifications => Koha::Borrower::Modifications->GetModifications({ borrowernumber => $borrowernumber }), > ); > > output_html_with_http_headers $query, $cookie, $template->output; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index c860ed6..c190937 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -620,6 +620,14 @@ No patron matched <span class="ex">[% message %]</span> > [% ELSE %]Attention:[% END %]</h3> > <ul> > >+ [% IF ( borrower_modifications ) %] >+ <li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications. >+ [% IF ( CAN_user_borrowers ) %] >+ <a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a> >+ [% END %] >+ </li> >+ [% END %] >+ > [% IF ( warndeparture ) %] > <li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon. > Patron's card expires on [% expiry %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&cardnumber=[% cardnumber %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&categorycode=[% categorycode %]">Edit Details</a> >-- >1.7.2.5
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 7067
:
11960
|
11961
|
11962
|
11965
|
11966
|
11967
|
11968
|
11970
|
11973
|
11978
|
12006
|
12007
|
12013
|
12104
|
12109
|
12114
|
12116
|
12129
|
12135
|
12136
|
12138
|
12153
|
12154
|
12171
|
12190
|
12191
|
12196
|
12197
|
12242
|
12243
|
12244
|
12245
|
12277
|
12278
|
13038
|
13039
|
13040
|
13048
|
13053
|
13259
|
13260
|
13744
|
13745
|
13746
|
13747
|
13748
|
13765
|
13766
|
13767
|
13768
|
13769
|
13984
|
14001
|
14085
|
14086
|
14087
|
14088
|
14089
|
14090
|
14092
|
14093
|
14119
|
14190
|
14191
|
14193
|
14194
|
14282
|
14283