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

(-)a/circ/circulation.pl (+2 lines)
Lines 49-54 use Koha::DateUtils; Link Here
49
use Koha::Database;
49
use Koha::Database;
50
use Koha::Patron::Messages;
50
use Koha::Patron::Messages;
51
use Koha::Patron::Images;
51
use Koha::Patron::Images;
52
use Koha::Patron::Modifications;
52
53
53
use Date::Calc qw(
54
use Date::Calc qw(
54
  Today
55
  Today
Lines 660-665 $template->param( Link Here
660
    canned_bor_notes_loop     => $canned_notes,
661
    canned_bor_notes_loop     => $canned_notes,
661
    debarments                => GetDebarments({ borrowernumber => $borrowernumber }),
662
    debarments                => GetDebarments({ borrowernumber => $borrowernumber }),
662
    todaysdate                => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ),
663
    todaysdate                => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ),
664
    modifications             => Koha::Patron::Modifications->GetModifications({ borrowernumber => $borrowernumber }),
663
);
665
);
664
666
665
output_html_with_http_headers $query, $cookie, $template->output;
667
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +8 lines)
Lines 730-735 No patron matched <span class="ex">[% message %]</span> Link Here
730
730
731
		<ul>
731
		<ul>
732
732
733
                   [% IF ( modifications ) %]
734
                    <li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications.
735
                            [% IF ( CAN_user_borrowers ) %]
736
                                    <a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a>
737
                            [% END %]
738
                   </li>
739
                  [% END %]
740
733
			[% IF ( warndeparture ) %]
741
			[% IF ( warndeparture ) %]
734
			<li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
742
			<li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon.
735
            Patron's card expires on [% expiry | $KohaDates %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&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>
743
            Patron's card expires on [% expiry | $KohaDates %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% borrowernumber %]&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>
736
- 

Return to bug 9393