Fixed so renewing a rental item adds a charge
authorrangi <rangi>
Wed, 9 May 2001 23:23:52 +0000 (23:23 +0000)
committerrangi <rangi>
Wed, 9 May 2001 23:23:52 +0000 (23:23 +0000)
renewscript.pl

index 0feed8b..78fd276 100755 (executable)
@@ -30,6 +30,7 @@ while ( my ($key, $value) = each %data) {
      #means we want to renew this item
      #check its status
      my $status=renewstatus(\%env,$bornum,$key);
+#     print $status;
      if ($status == 1){
        renewbook(\%env,$bornum,$key);
      }