|
Lines 71-77
if ($member ne ''){
Link Here
|
| 71 |
|
71 |
|
| 72 |
for (my $i=0; $i < $count; $i++){ |
72 |
for (my $i=0; $i < $count; $i++){ |
| 73 |
#find out stats |
73 |
#find out stats |
| 74 |
my ($od,$issue,$fines)=GetMemberIssuesAndFines($results->[$i]{'borrowerid'}); |
|
|
| 75 |
my $guarantorinfo=uc($results->[$i]{'surname'})." , ".ucfirst($results->[$i]{'firstname'}); |
74 |
my $guarantorinfo=uc($results->[$i]{'surname'})." , ".ucfirst($results->[$i]{'firstname'}); |
| 76 |
my %row = ( |
75 |
my %row = ( |
| 77 |
background => $background, |
76 |
background => $background, |
|
Lines 94-101
if ($member ne ''){
Link Here
|
| 94 |
dateofbirth =>format_date($results->[$i]{'dateofbirth'}), |
93 |
dateofbirth =>format_date($results->[$i]{'dateofbirth'}), |
| 95 |
#fi op |
94 |
#fi op |
| 96 |
|
95 |
|
| 97 |
odissue => "$od/$issue", |
|
|
| 98 |
fines => $fines, |
| 99 |
borrowernotes => $results->[$i]{'borrowernotes'}); |
96 |
borrowernotes => $results->[$i]{'borrowernotes'}); |
| 100 |
if ( $background ) { $background = 0; } else {$background = 1; } |
97 |
if ( $background ) { $background = 0; } else {$background = 1; } |
| 101 |
push(@resultsdata, \%row); |
98 |
push(@resultsdata, \%row); |
| 102 |
- |
|
|