View | Details | Raw Unified | Return to bug 7067
Collapse All | Expand All

(-)a/circ/circulation.pl (+2 lines)
Lines 39-44 use C4::Context; Link Here
39
use CGI::Session;
39
use CGI::Session;
40
use C4::Members::Attributes qw(GetBorrowerAttributes);
40
use C4::Members::Attributes qw(GetBorrowerAttributes);
41
use Koha::DateUtils;
41
use Koha::DateUtils;
42
use Koha::Borrower::Modifications;
42
43
43
use Date::Calc qw(
44
use Date::Calc qw(
44
  Today
45
  Today
Lines 740-745 $template->param( Link Here
740
    export_remove_fields      => C4::Context->preference("ExportRemoveFields"),
741
    export_remove_fields      => C4::Context->preference("ExportRemoveFields"),
741
    export_with_csv_profile   => C4::Context->preference("ExportWithCsvProfile"),
742
    export_with_csv_profile   => C4::Context->preference("ExportWithCsvProfile"),
742
    canned_bor_notes_loop     => $canned_notes,
743
    canned_bor_notes_loop     => $canned_notes,
744
    borrower_modifications    => Koha::Borrower::Modifications->GetModifications({ borrowernumber => $borrowernumber }),
743
);
745
);
744
746
745
output_html_with_http_headers $query, $cookie, $template->output;
747
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +8 lines)
Lines 620-625 No patron matched <span class="ex">[% message %]</span> Link Here
620
		[% ELSE %]Attention:[% END %]</h3>
620
		[% ELSE %]Attention:[% END %]</h3>
621
		<ul>
621
		<ul>
622
622
623
			[% IF ( borrower_modifications ) %]
624
			<li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications.
625
                            [% IF ( CAN_user_borrowers ) %]
626
                                    <a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a>
627
                            [% END %]
628
			</li>
629
			[% END %]
630
623
			[% IF ( warndeparture ) %]
631
			[% IF ( warndeparture ) %]
624
			<li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
632
			<li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
625
			Patron's card expires on [% expiry %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&amp;cardnumber=[% cardnumber %]&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% borrowernumber %]&amp;categorycode=[% categorycode %]">Edit Details</a>
633
			Patron's card expires on [% expiry %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&amp;cardnumber=[% cardnumber %]&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% borrowernumber %]&amp;categorycode=[% categorycode %]">Edit Details</a>
626
- 

Return to bug 7067