IMPORTANT - refactor MARC character set handling
[koha.git] / acqui / currency.pl
1 #!/usr/bin/perl
2
3
4 #written by chris@katipo.co.nz
5 #9/10/2000
6 #script to display and update currency rates
7
8
9 # Copyright 2000-2002 Katipo Communications
10 #
11 # This file is part of Koha.
12 #
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
16 # version.
17 #
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.
21 #
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
25
26 use CGI;
27 use C4::Acquisition;
28 use C4::Biblio;
29 use C4::Bookfund;
30
31 my $input=new CGI;
32
33 my @params=$input->param;
34 foreach my $param (@params){
35         if ($param ne 'type' && $param !~ /submit/){
36                 my $data=$input->param($param);
37                 ModCurrencies($param,$data);
38 }
39 }
40 print $input->redirect('/cgi-bin/koha/acqui/acqui-home.pl');