From afa2f8f7abdd8f26190b656fb3cbaa7f015fbeb3 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Mon, 30 Jun 2014 12:22:46 +0100 Subject: [PATCH] Bug 12495 Include streetnumber in hold alert address Steetnumber is not included in the addess in the hold alert add the field to those displayed --- circ/returns.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index a95a17c..428edb1 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -384,6 +384,7 @@ if ( $messages->{'WrongTransfer'} and not $messages->{'WasTransfered'}) { wbortitle => $borr->{'title'}, wborphone => $borr->{'phone'}, wboremail => $borr->{'email'}, + wborstnum => $borr->{streetnumber}, wboraddress => $borr->{'address'}, wboraddress2 => $borr->{'address2'}, wborcity => $borr->{'city'}, @@ -429,6 +430,7 @@ if ( $messages->{'ResFound'}) { boremail => $borr->{'email'}, boraddress => $borr->{'address'}, boraddress2 => $borr->{'address2'}, + borstnum => $borr->{streetnumber}, borcity => $borr->{'city'}, borzip => $borr->{'zipcode'}, borcnum => $borr->{'cardnumber'}, 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 72f9ee3..41e057d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -149,7 +149,7 @@ $(document).ready(function () { [% IF ( wborcnum ) %]
Hold for: