Koha/delitem.pl
2002-06-20 17:23:09 +00:00

20 lines
383 B
Perl
Executable file

#!/usr/bin/perl
#script to delete items
#written 2/5/00
#by chris@katipo.co.nz
use strict;
use C4::Search;
use CGI;
use C4::Output;
use C4::Acquisitions;
use C4::Biblio;
my $input = new CGI;
#print $input->header;
my $item=$input->param('itemnum');
delitem($item);
my $bibitemnum=$input->param('bibitemnum');
print $input->redirect("/cgi-bin/koha/moredetail.pl?bi=$bibitemnum");