koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha insertdata.pl,1.15,1.16


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha insertdata.pl,1.15,1.16
Date: Tue, 08 Apr 2003 04:43:47 -0700

Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1:/tmp/cvs-serv22880

Modified Files:
        insertdata.pl 
Log Message:
see #265

Index: insertdata.pl
===================================================================
RCS file: /cvsroot/koha/koha/insertdata.pl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** insertdata.pl       8 Apr 2003 11:30:55 -0000       1.15
--- insertdata.pl       8 Apr 2003 11:43:44 -0000       1.16
***************
*** 32,37 ****
  
  my $input= new CGI;
- #print $input->header;
- #print $input->dump;
  
  #get all the data into a hash
--- 32,35 ----
***************
*** 63,67 ****
    
borrowernotes='$data{'borrowernotes'}',altphone='$data{'altphone'}',surname='$data{'surname'}',
    
initials='$data{'initials'}',physstreet='$data{'streetaddress'}',ethnicity='$data{'ethnicity'}',
!   
gonenoaddress='$data{'gna'}',lost='$data{'lost'}',debarred='$data{'debarred'}',textmessaging='$data{'textmessaging'}'
    where borrowernumber=$data{'borrowernumber'}";
  #  print $query;
--- 61,65 ----
    
borrowernotes='$data{'borrowernotes'}',altphone='$data{'altphone'}',surname='$data{'surname'}',
    
initials='$data{'initials'}',physstreet='$data{'streetaddress'}',ethnicity='$data{'ethnicity'}',
!   
gonenoaddress='$data{'gna'}',lost='$data{'lost'}',debarred='$data{'debarred'}',textmessaging='$data{'textmessaging'}',
 branchcode = '$data{'branchcode'}'
    where borrowernumber=$data{'borrowernumber'}";
  #  print $query;
***************
*** 73,77 ****
    
firstname,altnotes,dateofbirth,contactname,emailaddress,textmessaging,dateenrolled,streetcity,
    
altrelationship,othernames,phoneday,categorycode,city,area,phone,borrowernotes,altphone,surname,
!   initials,ethnicity,borrowernumber,physstreet) values 
('$data{'title'}','$data{'expiry'}','$data{'cardnumber'}',
    '$data{'sex'}','$data{'ethnotes'}','$data{'address'}','$data{'faxnumber'}',
    
'$data{'firstname'}','$data{'altnotes'}','$data{'dateofbirth'}','$data{'contactname'}','$data{'emailaddress'}','$data{'textmessaging'}',
--- 71,75 ----
    
firstname,altnotes,dateofbirth,contactname,emailaddress,textmessaging,dateenrolled,streetcity,
    
altrelationship,othernames,phoneday,categorycode,city,area,phone,borrowernotes,altphone,surname,
!   initials,ethnicity,borrowernumber,physstreet,branchcode) values 
('$data{'title'}','$data{'expiry'}','$data{'cardnumber'}',
    '$data{'sex'}','$data{'ethnotes'}','$data{'address'}','$data{'faxnumber'}',
    
'$data{'firstname'}','$data{'altnotes'}','$data{'dateofbirth'}','$data{'contactname'}','$data{'emailaddress'}','$data{'textmessaging'}',
***************
*** 79,83 ****
    
'$data{'phoneday'}','$data{'categorycode'}','$data{'city'}','$data{'area'}','$data{'phone'}',
    
'$data{'borrowernotes'}','$data{'altphone'}','$data{'surname'}','$data{'initials'}',
!   '$data{'ethnicity'}','$data{'borrowernumber'}','$data{'streetaddress'}')";
  }
  # ok if its an adult (type) it may have borrowers that depend on it as a 
guarantor
--- 77,81 ----
    
'$data{'phoneday'}','$data{'categorycode'}','$data{'city'}','$data{'area'}','$data{'phone'}',
    
'$data{'borrowernotes'}','$data{'altphone'}','$data{'surname'}','$data{'initials'}',
!   
'$data{'ethnicity'}','$data{'borrowernumber'}','$data{'streetaddress'}','$data{'branchcode'}')";
  }
  # ok if its an adult (type) it may have borrowers that depend on it as a 
guarantor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]