From 53daf8a2de25ef4e9c51c8316c4ec5d7760c234f 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 --- 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 5a0cc09271..1996f24693 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -263,6 +263,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 a766bcc5c6..4ae22342be 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