-package C4::Circulation; #assumes C4/Circulation
+package C4::Circulation;
+
+# $Id$
#package to deal with circulation
}
# FIXME - This is quite similar to &C4::Circulation::Main::previousissue
+# FIXME - Never used. Obsolete, presumably.
sub previousissue {
my ($env,$itemnum,$dbh,$bornum)=@_;
my $sth=$dbh->prepare("Select firstname,surname,issues.borrowernumber,cardnumber,returndate
my ($env,$interface)=@_;
#scan barcode
my ($number,$reason,$book)=&borrower_dialog($env); #C4::Interface
- $number= $number;
+ $number= $number; # FIXME - WTF?
$book=uc $book;
return ($number,$reason,$book);
}
-
-
-END { } # module clean-up code here (global destructor)
-package C4::Format; #assumes C4/Format
+package C4::Format;
+# $Id$
# Copyright 2000-2002 Katipo Communications
#
If C<$format> has a comma after the optional dollar sign, the integer
part will be split into three-digit groups separated by commas.
+C<$env> is effectively ignored.
+
=cut
#'
# FIXME - This is all terribly provincial, not at all
}
# Right-pad the decimal part to the given number of digits.
if ($right > 0) {
- $tempdec = $tempdec.("0"x$right);
+ $tempdec = $tempdec.("0"x$right); # FIXME - .=
$tempdec = substr($tempdec,0,$right);
- $fnumb = $fnumb.".".$tempdec;
+ $fnumb = $fnumb.".".$tempdec; # FIXME - .=
}
return ($fnumb); # FIXME - Shouldn't return a list.
}
-END { } # module clean-up code here (global destructor)
-
1;
__END__