From aab933707f32f47d82193e8978f361799862422a Mon Sep 17 00:00:00 2001 From: rangi Date: Wed, 14 Feb 2001 00:29:17 +0000 Subject: [PATCH] The Horowhenua libraries wanted less patron and item information displaying at returns So Added some if statements to not display patron addresses, and to only display the title of the item These presumably would be changed to suit individual libraries wants --- circ/circulation.pl | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index f979dd38ad..8ec321fb29 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -217,9 +217,11 @@ EOF Returned Item Information Title: $iteminformation->{'title'}
+ EOF @@ -754,7 +756,11 @@ sub patrontable { } } $itemswaiting.="\n"; - $flaginfotext.="$flag$flags->{$flag}->{'message'}
Overdue items can be seen in the Previous Issues table below\n"; + if ($query->param('module') ne 'returns'){ + $flaginfotext.="$flag$flags->{$flag}->{'message'}
Overdue items can be seen in the Previous Issues table below\n"; + } else { + $flaginfotext.="$flag$flags->{$flag}->{'message'}\n"; + } } else { $flaginfotext.="$flag$flags->{$flag}->{'message'}\n"; } @@ -766,8 +772,13 @@ sub patrontable { Patron Information {'borrowernumber'} onClick="openWindow(this,'Member', 480, 640)">$borrower->{'cardnumber'} $borrower->{'surname'}, $borrower->{'title'} $borrower->{'firstname'}
- $borrower->{'streetaddress'} $borrower->{'city'}
- $borrower->{'categorycode'} $flagtext +EOF + if ($query->param('module') ne 'returns'){ + $patrontable.="$borrower->{'streetaddress'} $borrower->{'city'}
+ $borrower->{'categorycode'} "; + } + $patrontable.=<< "EOF"; + $flagtext EOF -- 2.39.5