From 5816bed961bbda49e3bba074bd0ff6e040c98788 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 21 Jul 2011 11:44:32 -0400 Subject: [PATCH] Additional change for bug 5922 - Show waiting items for patron on return - Adding patron name to dialog - Styling dialog as a message rather than an alert since it's informational rather than a warning (cherry picked from commit 53daf8a2de25ef4e9c51c8316c4ec5d7760c234f) Signed-off-by: Chris Nighswonger --- circ/returns.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index d7fad0cc25..4621710aa2 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -277,6 +277,8 @@ if ($barcode) { $template->param( waiting_holds => $waiting_holds, holdsborrowernumber => $borrower->{'borrowernumber'}, + holdsfirstname => $borrower->{'firstname'}, + holdssurname => $borrower->{'surname'}, ); } } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 620f770291..2956486435 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -68,9 +68,9 @@ function Dopop(link) { [% IF ( waiting_holds ) %] -
-

Patron has [% waiting_holds %] hold(s) waiting for pickup.

-

Checkout holds.

+
+

[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.

+

Check out to this patron.

[% END %] -- 2.39.5