-package C4::Reserves; #asummes C4/Reserves
-
-#requires DBI.pm to be installed
-#uses DBD:Pg
-
+package C4::Reserves;
# Copyright 2000-2002 Katipo Communications
#
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
+# FIXME - I suspect that this module is obsolete.
+
use strict;
require Exporter;
use DBI;
# make all your functions, whether exported or not;
+# FIXME - This doesn't appear to ever be used, except in modules that
+# appear to be obsolete.
sub EnterReserves{
my ($env)=@_;
my $titlepanel = titlepanel($env,"Reserves","Enter Selection");
return ($donext);
}
+# FIXME - A functionally identical version of this function appears in
+# C4::Reserves2. Pick one and stick with it.
sub CalcReserveFee {
my ($env,$borrnum,$biblionumber,$constraint,$bibitems) = @_;
#check for issues;
return $fee;
} # end CalcReserveFee
+# FIXME - A somewhat different version of this function appears in
+# C4::Reserves2. Pick one and stick with it.
sub CreateReserve {
my ($env,$branch,$borrnum,$biblionumber,$constraint,$bibitems,$fee) = @_;
my $dbh = C4::Context->dbh;
-package C4::Reserves2; #assumes C4/Reserves2
-
+package C4::Reserves2;
# Copyright 2000-2002 Katipo Communications
#
return($i,@results);
}
+# FIXME - A somewhat different version of this function appears in
+# C4::Reserves. Pick one and stick with it.
sub CreateReserve {
my
($env,$branch,$borrnum,$biblionumber,$constraint,$bibitems,$priority,$notes,$title)= @_;
return();
}
+# FIXME - A functionally identical version of this function appears in
+# C4::Reserves. Pick one and stick with it.
sub CalcReserveFee {
my ($env,$borrnum,$biblionumber,$constraint,$bibitems) = @_;
#check for issues;