Main Koha release repository
https://koha-community.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
537 B
32 lines
537 B
#!/usr/bin/perl
|
|
#
|
|
# written 31/5/00 by chris@katipo.co.nz to make a way to fix account mistakes
|
|
#
|
|
|
|
use strict;
|
|
use C4::Database;
|
|
use CGI;
|
|
use C4::Accounts2;
|
|
|
|
my $input=new CGI;
|
|
|
|
#print $input->header();
|
|
#print $input->dump;
|
|
|
|
my $bornum=$input->param('bornum');
|
|
|
|
my @name=$input->param;
|
|
|
|
foreach my $key (@name){
|
|
if ($key ne 'bornum'){
|
|
my $temp=$input->param($key);
|
|
|
|
# print $temp,$key;
|
|
if ($temp ne ''){
|
|
fixaccounts($bornum,$key,$temp);
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
print $input->redirect("boraccount.pl?bornum=$bornum");
|
|
|