fixed it so staff are calculated as well

This commit is contained in:
chris 2000-01-04 08:26:52 +00:00
parent bdd7205f2f
commit a1e6bd0ba9

View file

@ -28,7 +28,7 @@ for (my $i=0;$i<$count;$i++){
$borrower=BorType($bornum);
}
if ($borrower->{'description'} !~ /Staff/ && $borrower->{'description'} !~ /Branch/){
# if ($borrower->{'description'} !~ /Staff/ && $borrower->{'description'} !~ /Branch/){
my ($amount)=CalcFine($data->[$i]->{'itemnumber'},$borrower->{'categorycode'},$difference);
if ($amount > $max){
$amount=$max;
@ -39,7 +39,7 @@ for (my $i=0;$i<$count;$i++){
} else {
# print "0 fine\n";
}
}
# }
}
}
print "\n $count2\n";