[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha memberentry.pl,1.6.2.5,1.6.2.6
From: |
Finlay Thompson |
Subject: |
[Koha-cvs] CVS: koha memberentry.pl,1.6.2.5,1.6.2.6 |
Date: |
Tue, 10 Dec 2002 18:58:39 -0800 |
Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1:/tmp/cvs-serv25570
Modified Files:
Tag: rel-1-2
memberentry.pl
Log Message:
put in the categorycode = C if else. This displays the form differently for
children.
Index: memberentry.pl
===================================================================
RCS file: /cvsroot/koha/koha/memberentry.pl,v
retrieving revision 1.6.2.5
retrieving revision 1.6.2.6
diff -C2 -r1.6.2.5 -r1.6.2.6
*** memberentry.pl 25 Oct 2002 17:23:41 -0000 1.6.2.5
--- memberentry.pl 11 Dec 2002 02:58:37 -0000 1.6.2.6
***************
*** 234,237 ****
--- 234,241 ----
</tr>
<tr><td> </TD></TR>
+ printend
+ ;
+ if ($data->{'categorycode'} ne 'C'){
+ print <<printend
<tr valign=top bgcolor="99cc33" ><td COLSPAN=5
background="/images/background-mem.gif">
***************
*** 394,397 ****
--- 398,432 ----
printend
;
+ } else {
+ my $guarantor=findguarantor($data->{'borrowernumber'});
+ if ($guarantor->{'borrowernumber'} == 0){
+ $guarantor->{'cardnumber'} = '';
+ }
+ print "<tr valign=top><td><input name=guarantor
value=\"$guarantor->{'cardnumber'}\"><td></tr>";
+ print "<tr><td>Guarantor</td></tr>";
+ print <<printend
+ <tr valign=top >
+
+ <td><FONT SIZE=2>Notes</font></td>
+ <td COLSPAN=4><textarea name=borrowernotes wrap=physical cols=70
rows=3>$data->{'borrowernotes'}</textarea></td></tr>
+ <tr><td> </TD></TR>
+ <input type=hidden name=city size=20 value="$data->{'city'}">
+ <input type=hidden name=area value="$data->{'area'}">
+ <input type=hidden name=streetaddress size=40
value="$data->{'physstreet'}">
+ <input type=hidden name=streetcity size=20
value="$data->{'streetcity'}">
+ <input type=hidden name=phone size=20 value="$data->{'phone'}">
+ <input type=hidden name=phoneday size=20 value="$data->{'phoneday'}">
+ <input type=hidden name=faxnumber size=20 value="$data->{'faxnumber'}">
+ <input type=hidden name=emailaddress size=20
value="$data->{'emailaddress'}">
+ <input type=hidden name=textmessaging value="$data->{'textmessaging'}">
+ <input type=hidden name=contactname size=40
value="$data->{'contactname'}">
+ <input type=hidden name=altphone size=20 value="$data->{'altphone'}">
+ <input type=hidden name=altrelationship
value="$data->{'altrelationship'}">
+ <input type=hidden name=altnotes value="$data->{'altnotes'}">
+
+ printend
+ ;
+ }
+
if ($modify){
print <<printend
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha memberentry.pl,1.6.2.5,1.6.2.6,
Finlay Thompson <=
- Prev by Date:
[Koha-cvs] CVS: koha/admin aqbookfund.pl,1.8,1.9 aqbudget.pl,1.7,1.8 authorised_values.pl,1.3,1.4 branches.pl,1.9,1.10 koha2marclinks.pl,1.3,1.4 marc_subfields_structure.pl,1.6,1.7 marctagstructure.pl,1.7,1.8 systempreferences.pl,1.8,1.9 thesaurus.pl,1.4,1.5
- Next by Date:
[Koha-cvs] CVS: koha/C4 Search.pm,1.18.2.22,1.18.2.23
- Previous by thread:
[Koha-cvs] CVS: koha/admin aqbookfund.pl,1.8,1.9 aqbudget.pl,1.7,1.8 authorised_values.pl,1.3,1.4 branches.pl,1.9,1.10 koha2marclinks.pl,1.3,1.4 marc_subfields_structure.pl,1.6,1.7 marctagstructure.pl,1.7,1.8 systempreferences.pl,1.8,1.9 thesaurus.pl,1.4,1.5
- Next by thread:
[Koha-cvs] CVS: koha/C4 Search.pm,1.18.2.22,1.18.2.23
- Index(es):