From 632d88d80d705cc5eb549610eb21a2a76dedbc07 Mon Sep 17 00:00:00 2001 From: Kyle M Hall 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 | 9 ++++++++- 2 files changed, 10 insertions(+), 1 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..fb52dec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -569,7 +569,6 @@ No patron matched [% message %] [% IF ( DisplayClearScreenButton ) %] x [% END %] -
Enter item barcode:
@@ -620,6 +619,14 @@ No patron matched [% message %] [% ELSE %]Attention:[% END %]