[Koha-cvs] CVS: koha insertdata.pl,1.9,1.10 memberentry.pl,1.25,1.26 newmember.pl,1.7,1.8

Mike Hansen wolfpac444 at users.sourceforge.net
Tue Mar 25 06:13:28 CET 2003


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

Modified Files:
	insertdata.pl memberentry.pl newmember.pl 
Log Message:
Added the stuff for the text messaging field -- Fixed bug #219


Index: insertdata.pl
===================================================================
RCS file: /cvsroot/koha/koha/insertdata.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** insertdata.pl	5 Oct 2002 09:45:17 -0000	1.9
--- insertdata.pl	25 Mar 2003 05:13:26 -0000	1.10
***************
*** 60,64 ****
    borrowernotes='$data{'borrowernotes'}',altphone='$data{'altphone'}',surname='$data{'surname'}',
    initials='$data{'initials'}',physstreet='$data{'address'}',ethnicity='$data{'ethnicity'}',
!   gonenoaddress='$data{'gna'}',lost='$data{'lost'}',debarred='$data{'debarred'}'
    where borrowernumber=$data{'borrowernumber'}";
  #  print $query;
--- 60,64 ----
    borrowernotes='$data{'borrowernotes'}',altphone='$data{'altphone'}',surname='$data{'surname'}',
    initials='$data{'initials'}',physstreet='$data{'address'}',ethnicity='$data{'ethnicity'}',
!   gonenoaddress='$data{'gna'}',lost='$data{'lost'}',debarred='$data{'debarred'}',textmessaging='$data{'textmessaging'}'
    where borrowernumber=$data{'borrowernumber'}";
  #  print $query;
***************
*** 70,78 ****
    $data{'joining'}=UnixDate($data{'joining'},'%Y-%m-%d');
    $query="insert into borrowers (title,expiry,cardnumber,sex,ethnotes,streetaddress,faxnumber,
!   firstname,altnotes,dateofbirth,contactname,emailaddress,dateenrolled,streetcity,
    altrelationship,othernames,phoneday,categorycode,city,area,phone,borrowernotes,altphone,surname,
    initials,ethnicity,borrowernumber) 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{'joining'}','$data{'streetcity'}','$data{'altrelationship'}','$data{'othernames'}',
    '$data{'phoneday'}','$data{'categorycode'}','$data{'city'}','$data{'area'}','$data{'phone'}',
--- 70,78 ----
    $data{'joining'}=UnixDate($data{'joining'},'%Y-%m-%d');
    $query="insert into borrowers (title,expiry,cardnumber,sex,ethnotes,streetaddress,faxnumber,
!   firstname,altnotes,dateofbirth,contactname,emailaddress,textmessaging,dateenrolled,streetcity,
    altrelationship,othernames,phoneday,categorycode,city,area,phone,borrowernotes,altphone,surname,
    initials,ethnicity,borrowernumber) 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'}',
    '$data{'joining'}','$data{'streetcity'}','$data{'altrelationship'}','$data{'othernames'}',
    '$data{'phoneday'}','$data{'categorycode'}','$data{'city'}','$data{'area'}','$data{'phone'}',

Index: memberentry.pl
===================================================================
RCS file: /cvsroot/koha/koha/memberentry.pl,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** memberentry.pl	18 Mar 2003 11:15:09 -0000	1.25
--- memberentry.pl	25 Mar 2003 05:13:26 -0000	1.26
***************
*** 196,199 ****
--- 196,200 ----
    			faxnumber       => $data->{'faxnumber'},
    			emailaddress    => $data->{'emailaddress'},
+ 			textmessaging   => $data->{'textmessaging'},
    			contactname     => $data->{'contactname'},
    			altphone        => $data->{'altphone'},

Index: newmember.pl
===================================================================
RCS file: /cvsroot/koha/koha/newmember.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** newmember.pl	2 Feb 2003 07:18:37 -0000	1.7
--- newmember.pl	25 Mar 2003 05:13:26 -0000	1.8
***************
*** 168,171 ****
--- 168,172 ----
  		     faxnumber => $data{'faxnumber'},
  		     emailaddress => $data{'emailaddress'},
+                      textmessaging => $data{'textmessaging'},
  		     contactname => $data{'contactname'},
  		     altphone => $data{'altphone'},





More information about the Koha-cvs mailing list