Adding overduecount, issuecount, and finetotal variables to template
authoroleonard <oleonard>
Mon, 12 Jul 2004 20:44:48 +0000 (20:44 +0000)
committeroleonard <oleonard>
Mon, 12 Jul 2004 20:44:48 +0000 (20:44 +0000)
circ/circulation.pl

index 9ebdd33..e635ba7 100755 (executable)
@@ -107,6 +107,11 @@ if ($findborrower) {
 my $borrower;
 if ($borrowernumber) {
     $borrower = getpatroninformation(\%env,$borrowernumber,0);
+       
+               my ($od,$issue,$fines)=borrdata2(\%env,$borrowernumber);
+       $template->param(overduecount => $od,
+                                                       issuecount => $issue,
+                                                       finetotal => $fines);
 }