3 #written 18/1/2000 by chris@katipo.co.nz
4 #script to renew items from the web
7 use C4
::Circulation
::Renewals2
;
10 #print $input->header;
14 my @names=$input->param();
18 for (my $i=0;$i<$count;$i++){
19 if ($names[$i] =~ /renew/){
21 $temp=~ s/renew_item_//;
22 $data{$temp}=$input->param($names[$i]);
26 my $bornum=$input->param("bornum");
27 while ( my ($key, $value) = each %data) {
28 # print "$key = $value\n";
30 #means we want to renew this item
32 my $status=renewstatus
(\
%env,$bornum,$key);
35 renewbook
(\
%env,$bornum,$key);
40 print $input->redirect("/cgi-bin/koha/moremember.pl?bornum=$bornum");