*** empty log message ***
[koha.git] / acqui / currency.pl
1 #!/usr/bin/perl
2
3 # $Id$
4
5 #written by chris@katipo.co.nz
6 #9/10/2000
7 #script to display and update currency rates
8
9
10 # Copyright 2000-2002 Katipo Communications
11 #
12 # This file is part of Koha.
13 #
14 # Koha is free software; you can redistribute it and/or modify it under the
15 # terms of the GNU General Public License as published by the Free Software
16 # Foundation; either version 2 of the License, or (at your option) any later
17 # version.
18 #
19 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
20 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
21 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
22 #
23 # You should have received a copy of the GNU General Public License along with
24 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
25 # Suite 330, Boston, MA  02111-1307 USA
26
27 use CGI;
28 use C4::Acquisition;
29 use C4::Biblio;
30 use C4::Bookfund;
31
32 my $input=new CGI;
33
34 my @params=$input->param;
35 foreach my $param (@params){
36         if ($param ne 'type' && $param !~ /submit/){
37                 my $data=$input->param($param);
38                 ModCurrencies($param,$data);
39 }
40 }
41 print $input->redirect('/cgi-bin/koha/acqui/acqui-home.pl');