5 #script to display reports
9 # Copyright 2000-2002 Katipo Communications
11 # This file is part of Koha.
13 # Koha is free software; you can redistribute it and/or modify it under the
14 # terms of the GNU General Public License as published by the Free Software
15 # Foundation; either version 2 of the License, or (at your option) any later
18 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
19 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
20 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License along with
23 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
24 # Suite 330, Boston, MA 02111-1307 USA
34 my $type=$input->param('type');
36 print startmenu
('issue');
38 if ($type eq 'search'){
39 @data=statsreport
('search','something');
41 if ($type eq 'issue'){
42 @data=statsreport
('issue','today');
44 if ($type eq 'stock'){
48 print mkheadr
(1,"$type reports");
51 print endmenu
('issue');