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

(-)a/circ/circulation.pl (-2 / +2 lines)
Lines 49-55 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::Borrower::Modifications;
52
use Koha::Patron::Modifications;
53
53
54
use Date::Calc qw(
54
use Date::Calc qw(
55
  Today
55
  Today
Lines 661-667 $template->param( Link Here
661
    canned_bor_notes_loop     => $canned_notes,
661
    canned_bor_notes_loop     => $canned_notes,
662
    debarments                => GetDebarments({ borrowernumber => $borrowernumber }),
662
    debarments                => GetDebarments({ borrowernumber => $borrowernumber }),
663
    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
    borrower_modifications    => Koha::Borrower::Modifications->GetModifications({ borrowernumber => $borrowernumber }),
664
    modifications             => Koha::Patron::Modifications->GetModifications({ borrowernumber => $borrowernumber }),
665
);
665
);
666
666
667
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 (-2 / +1 lines)
Lines 730-736 No patron matched <span class="ex">[% message %]</span> Link Here
730
730
731
		<ul>
731
		<ul>
732
732
733
                   [% IF ( borrower_modifications ) %]
733
                   [% IF ( modifications ) %]
734
                    <li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications.
734
                    <li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications.
735
                            [% IF ( CAN_user_borrowers ) %]
735
                            [% IF ( CAN_user_borrowers ) %]
736
                                    <a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a>
736
                                    <a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a>
737
- 

Return to bug 9393