bug 2569: added the zipcode to display along with the patron address
authorDanny Bouman <danny.bouman@hclibrary.org>
Thu, 28 Aug 2008 19:22:39 +0000 (15:22 -0400)
committerGalen Charlton <galen.charlton@liblime.com>
Tue, 2 Sep 2008 21:48:22 +0000 (16:48 -0500)
Added the zipcode to display along with the patron address when you are viewing a Patron from the intranet.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
tools/viewlog.pl

index f2af9be..36f0cdc 100755 (executable)
@@ -683,6 +683,7 @@ $template->param(
     emailpro          => $borrower->{'emailpro'},
     borrowernotes     => $borrower->{'borrowernotes'},
     city              => $borrower->{'city'},
+    zipcode          => $borrower->{'zipcode'},
     phone             => $borrower->{'phone'} || $borrower->{'mobile'},
     cardnumber        => $borrower->{'cardnumber'},
     amountold         => $amountold,
index defe58e..20e9ab4 100644 (file)
@@ -22,6 +22,7 @@
     <!-- /TMPL_IF --><li> 
     <!-- TMPL_IF NAME="city" -->
             <!-- TMPL_VAR NAME="city" -->
+           <!-- TMPL_VAR NAME="zipcode" -->
     <!-- TMPL_ELSE -->
         <span class="empty">No city stored.</span>
     <!-- /TMPL_IF --></li>
index f9c5952..c4c5d99 100755 (executable)
@@ -88,6 +88,7 @@ if ($src eq 'circ') {   # if we were called from circulation, use the circulatio
                         address         => $data->{'address'},
                         address2        => $data->{'address2'},
                         city            => $data->{'city'},
+                       zipcode         => $data->{'zipcode'},
                         phone           => $data->{'phone'},
                         phonepro        => $data->{'phonepro'},
                         email           => $data->{'email'},