1. Formatting 'fines' amount to two decimal places

2. Sending through 'overdues' and 'issues' variables separately (instead of just as odissue) so that overdues can be styled separately.
This commit is contained in:
oleonard 2006-03-13 19:30:05 +00:00
parent ffa1389249
commit 9fcfef4dc6
1 changed files with 3 additions and 1 deletions

View File

@ -98,8 +98,10 @@ for (my $i=0; $i < $count; $i++){
streetaddress => $results->[$i]{'streetaddress'},
city => $results->[$i]{'city'},
branchcode => $results->[$i]{'branchcode'},
overdues => $od,
issues => $issue,
odissue => "$od/$issue",
fines => $fines,
fines => sprintf("%.2f",$fines),
borrowernotes => $results->[$i]{'borrowernotes'},
sort1 => $results->[$i]{'sort1'},
sort2 => $results->[$i]{'sort2'},