1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="modify" -->Edit Record<!-- TMPL_ELSE -->Add New <!-- TMPL_IF NAME="institution" -->Institutional <!-- /TMPL_IF -->Member<!-- /TMPL_IF --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <!-- TMPL_INCLUDE NAME="menus.inc" -->
4 <!-- TMPL_INCLUDE NAME="menu-members.inc" -->
6 <!-- TMPL_IF NAME="addAction" -->
8 Add New <!-- TMPL_IF NAME="institution" -->Institutional <!-- /TMPL_IF -->Member
12 Update <!-- TMPL_IF NAME="institution" -->Institutional <!-- /TMPL_IF -->Member Details
14 <h2><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR name="firstname" --></h2>
17 <!-- TMPL_IF Name="NOK" -->
18 <h3>Missing Information</h3>
19 <p>The following fields have a forbidden value. Correct them and press OK again :</p><ul>
20 <!-- TMPL_IF NAME="ERROR_surname" -->
21 <li><a href="#lastname">Last Name</a></li>
23 <!-- TMPL_IF NAME="ERROR_firstname" -->
24 <li><a href="#firstname">First Name</a></li>
26 <!-- TMPL_IF NAME="ERROR_gender" -->
27 <li><a href="sex">Sex</a></li>
29 <!-- TMPL_IF NAME="ERROR_address" -->
30 <li><a href="#address">Mailing Address</a></li>
32 <!-- TMPL_IF NAME="ERROR_city" -->
33 <li><a href="#city">Mailing Address City/State</a></li>
35 <!-- TMPL_IF NAME="ERROR_cardnumber" -->
36 <li><a href="#cardnumber">Card Number</a></li>
38 <!-- TMPL_IF NAME="ERROR_invalid_cardnumber" -->
39 <li><a href="#cardnumber">Invalid Card Number</a></li>
43 <form action="/cgi-bin/koha/members/memberentry.pl" method="post">
44 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
45 <input type="hidden" name="type" value="borrowers" />
46 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
47 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
48 <input type="hidden" name="actionType" value="<!-- TMPL_VAR NAME="actionType" -->" />
49 <!-- TMPL_IF NAME="addAction" -->
50 <input type="hidden" name="op" value="add" />
52 <input type="hidden" name="op" value="modify" />
55 <!-- TMPL_UNLESS name="institution" -->
57 <label for="title">Salutation:</label><!-- TMPL_VAR NAME="Mr" -->
58 <select name="title" id="title">
59 <option <!-- TMPL_VAR NAME="title_selected_ " --> value="">No Title</option>
60 <option value="Miss" <!-- TMPL_VAR NAME="title_Miss" -->>Miss</option>
61 <option value="Mrs" <!-- TMPL_VAR NAME="title_Mrs" -->>Mrs</option>
62 <option value="Ms" <!-- TMPL_VAR NAME="title_Ms" -->>Ms</option>
63 <option <!-- TMPL_VAR NAME="title_Mr" --> value="Mr" >Mr</option>
64 <option value="Dr" <!-- TMPL_VAR NAME="title_Dr" -->>Dr</option>
65 <option value="Sir" <!-- TMPL_VAR NAME="title_Sir" -->>Sir</option>
71 <!-- TMPL_IF NAME="institution" -->Institution name:<!-- TMPL_ELSE -->Last Name: <!-- /TMPL_IF -->
73 <input type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
76 <!-- TMPL_UNLESS name="institution" -->
78 <label for="firstname">First Name:</label>
79 <input type="text" id="firstname" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
83 <!-- TMPL_UNLESS name="institution" -->
85 <label for="initials">Initials:</label>
86 <input type="text" id="initials" name="initials" size="5" value="<!-- TMPL_VAR NAME="initials" -->" />
90 <!-- TMPL_UNLESS name="institution" -->
92 <label for="othernames">Prefered Name:</label>
93 <input type="text" id="othernames" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
96 <!-- TMPL_UNLESS name="institution" -->
98 <label for="sex">Sex:</label>
99 <input type="radio" id="sex" name="sex" value="F"<!-- TMPL_IF NAME="female" --> checked="checked"<!-- /TMPL_IF --> />F <input type="radio" name="sex" value="M"<!-- TMPL_UNLESS name="female" --> checked="checked"<!-- /TMPL_UNLESS --> /> M
101 <!-- /TMPL_UNLESS -->
103 <!-- TMPL_UNLESS name="institution" -->
104 <p><label for="dateofbirth">Date of Birth: </label><input type="text" id="dateofbirth" name="dateofbirth" size="10" value="<!-- TMPL_VAR NAME="dateofbirth" -->" /> (<!-- TMPL_VAR NAME="dateformat" -->)</p>
105 <!-- /TMPL_UNLESS -->
109 <legend>Mailing Address</legend>
111 <label for="streetaddress">Address:</label>
112 <input type="text" id="streetaddress" name="streetaddress" size="25" value="<!-- TMPL_VAR NAME="address" -->" />
115 <label for="city">City, State:</label>
116 <input type="text" id="city" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
119 <label for="zipcode">Zip Code:</label>
120 <input type="text" id="zipcode" name="zipcode" size="20" maxlength="20" value="<!-- TMPL_VAR NAME="zipcode" -->" />
125 <legend>Street Address (if different)</legend>
127 <label for="physstreet">Address:</label>
128 <input type="text" id="physstreet" name="physstreet" size="25" value="<!-- TMPL_VAR NAME="physstreet" -->" />
131 <label for="streetcity">City, State: </label>
132 <input type="text" id="streetcity" name="streetcity" size="20" value="<!-- TMPL_VAR NAME="streetcity" -->" />
135 <label for="homezipcode">Zip Code:</label>
136 <input type="text" id="homezipcode" name="homezipcode" size="20" maxlength="20" value="<!-- TMPL_VAR NAME="homezipcode" -->" />
140 <label for="phone">Phone (Home):</label>
141 <input type="text" id="phone" name="phone" size="20" value="<!-- TMPL_VAR NAME="phone" -->" />
144 <label for="phoneday">Phone (Daytime):</label>
145 <input type="text" id="phoneday" name="phoneday" size="20" value="<!-- TMPL_VAR NAME="phoneday" -->" />
148 <label for="faxnumber">Fax: </label>
149 <input type="text" id="faxnumber" name="faxnumber" size="20" value="<!-- TMPL_VAR NAME="faxnumber" -->" />
152 <label for="emailaddress">Email :</label>
153 <input type="text" id="emailaddress" name="emailaddress" size="40" value="<!-- TMPL_VAR NAME="emailaddress" -->" />
155 <p><label for="textmessaging">Member message: (appears in OPAC)</label></p>
157 <textarea id="textmessaging" name="textmessaging" cols="30" rows="3">
158 <!-- TMPL_VAR NAME="textmessaging" -->
162 <label for="borrowernotes">Circulation note:(appears in Circulation)</label>
163 <textarea id="borrowernotes" name="borrowernotes" cols="30" rows="3">
164 <!-- TMPL_VAR NAME="borrowernotes" -->
167 <!-- TMPL_IF NAME="addAction" -->
169 <label>Joining date (leave blank for today): </label>
170 <input type="text" name="joining" size="12" maxlength="10" value="<!-- TMPL_VAR name="joining" -->" />
174 <label>Joining date: </label>
175 <!-- TMPL_VAR name="joining" -->
179 <label>Expiry date (leave blank for auto calc): </label>
180 <input type="text" name="expiry" size="12" maxlength="10" value="<!-- TMPL_VAR name="expiry" -->" />
183 <!-- TMPL_UNLESS name="institution" -->
184 <h2>Alternate Contact</h2>
186 <label for="contactname">Name: </label>
187 <input type="text" id="contactname" name="contactname" size="40" value="<!-- TMPL_VAR NAME="contactname" -->" />
190 <label for="altphone">Phone:</label>
191 <input type="text" id="altphone" name="altphone" size="20" value="<!-- TMPL_VAR NAME="altphone" -->" />
194 <label for="altrelationship">Relationship:</label>
195 <select id="altrelationship" name="altrelationship" size="1">
196 <!-- TMPL_LOOP NAME="relshiploop" -->
197 <option <!-- TMPL_VAR NAME="selected" -->><!-- TMPL_VAR NAME="relationship" --></option>
202 <label for="altnotes">Notes: </label>
203 <textarea id="altnotes" name="altnotes" cols="30" rows="3"><!-- TMPL_VAR NAME="altnotes" --></textarea>
205 <!-- /TMPL_UNLESS -->
208 <!-- TMPL_LOOP NAME="flagloop" -->
210 <label for="<!-- TMPL_VAR NAME="name" -->"><!-- TMPL_VAR NAME="html" --></label>
211 <input type="radio" id="<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" <!-- TMPL_VAR NAME="yes" --> />Yes
212 <input type="radio" name="<!-- TMPL_VAR NAME="name" -->" value="0" <!-- TMPL_VAR NAME="no" --> />No
216 <h2>Member Details</h2>
217 <!-- TMPL_UNLESS NAME="addAction" -->
219 <label>Member Number:</label>
220 <span class="ex"><!-- TMPL_VAR NAME="member" --></span>
222 <!-- /TMPL_UNLESS -->
224 <label for="categorycode">Category:</label>
225 <!-- TMPL_VAR NAME="catcodepopup" -->
228 <label for="branchcode">Branch:</label>
229 <!-- TMPL_VAR NAME="CGIbranch" -->
232 <label for="cardnumber">
233 <a name="cardnumber">Card Number</a>
235 <input id="cardnumber" type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
238 <h2>Additional Fields</h2>
239 <p>These fields are available for your own usage. They can be useful for statistical purposes</p>
241 <label for="sort1">Sorting field 1</label>
242 <input type="text" id="sort1" name="sort1" value="<!-- TMPL_VAR NAME="sort1" -->" />
245 <label for="sort2">Sorting field 2</label>
246 <input type="text" id="sort2" name="sort2" value="<!-- TMPL_VAR NAME="sort2" -->" />
249 <input type="hidden" name="type" value="<!-- TMPL_VAR NAME="type" -->" />
250 <input name="submit" type="submit" class="submit" value="<!-- TMPL_IF NAME="modify" -->Update<!-- TMPL_ELSE -->Add<!-- /TMPL_IF --> This Member" />
254 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->