1 package C4::Interface::RenewalsCDK; #assumes C4/Interface/RenewalsCDK
5 # Copyright 2000-2002 Katipo Communications
7 # This file is part of Koha.
9 # Koha is free software; you can redistribute it and/or modify it under the
10 # terms of the GNU General Public License as published by the Free Software
11 # Foundation; either version 2 of the License, or (at your option) any later
14 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
15 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License along with
19 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
20 # Suite 330, Boston, MA 02111-1307 USA
22 # FIXME - I'm pretty sure that this, along with the rest of the
23 # CDK-based stuff, is obsolete.
33 use vars qw($VERSION @ISA @EXPORT);
35 # set the version for version checking
39 @EXPORT = qw(renew_window);
42 my ($env,$issueditems,$borrower,$amountowing,$odues)=@_;
43 my $titlepanel = C4::InterfaceCDK::titlepanel($env,$env->{'sysarea'},"Renewals");
44 my @sel = ("N ","Y ");
45 my $issuelist = new Cdk::Selection ('Title'=>"Renew items",
46 'List'=>\@$issueditems,'Choices'=>\@sel,
47 'Height'=> 14,'Width'=>78,'Ypos'=>8);
49 my $borrbox = C4::InterfaceCDK::borrowerbox($env,$borrower,$amountowing);
51 my @renews = $issuelist->activate();