|
Lines 54-60
Link Here
|
| 54 |
[% END %] |
54 |
[% END %] |
| 55 |
<div class="yui-g"> |
55 |
<div class="yui-g"> |
| 56 |
|
56 |
|
| 57 |
[% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry | $KohaDates %]</div>[% END %] |
57 |
[% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]</div>[% END %] |
| 58 |
|
58 |
|
| 59 |
[% IF fines %] |
59 |
[% IF fines %] |
| 60 |
<div id="circmessages" class="circmessage attention"> |
60 |
<div id="circmessages" class="circmessage attention"> |
|
Lines 110-126
Link Here
|
| 110 |
<a href="#reldebarments" id="view_restrictions">View restrictions</a> |
110 |
<a href="#reldebarments" id="view_restrictions">View restrictions</a> |
| 111 |
</li> |
111 |
</li> |
| 112 |
[% END %] |
112 |
[% END %] |
| 113 |
[% IF ( gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %] |
113 |
[% IF ( patron.gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %] |
| 114 |
[% IF ( lost ) %]<li class="blocker">Patron's card has been reported lost.</li>[% END %] |
114 |
[% IF ( lost ) %]<li class="blocker">Patron's card has been reported lost.</li>[% END %] |
| 115 |
</ul> |
115 |
</ul> |
| 116 |
</div> |
116 |
</div> |
| 117 |
[% END %] |
117 |
[% END %] |
| 118 |
<h3>[% UNLESS ( I ) %] |
118 |
<h3>[% UNLESS ( I ) %] |
| 119 |
[% title | html %] [% firstname | html %] [% END %] [% surname | html %] ([% cardnumber | html %])</h3> |
119 |
[% patron.title | html %] [% patron.firstname | html %] [% END %] [% patron.surname | html %] ([% patron.cardnumber | html %])</h3> |
| 120 |
<div class="yui-u first"> |
120 |
<div class="yui-u first"> |
| 121 |
<div id="patron-information" style="padding : .5em;"> |
121 |
<div id="patron-information" style="padding : .5em;"> |
| 122 |
|
122 |
|
| 123 |
[% IF ( othernames ) %]“[% othernames | html %]”[% END %] |
123 |
[% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %] |
| 124 |
|
124 |
|
| 125 |
<div class = "address"> |
125 |
<div class = "address"> |
| 126 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
126 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
|
Lines 132-148
Link Here
|
| 132 |
|
132 |
|
| 133 |
<div class="rows"> |
133 |
<div class="rows"> |
| 134 |
<ol> |
134 |
<ol> |
| 135 |
[% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %] |
135 |
[% IF ( patron.phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% patron.phone %]">[% patron.phone | html %]</a></li>[% END %] |
| 136 |
[% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %] |
136 |
[% IF ( patron.phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% patron.phonepro %]">[% patron.phonepro | html %]</a></li>[% END %] |
| 137 |
[% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %] |
137 |
[% IF ( patron.mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% patron.mobile %]">[% patron.mobile | html %]</a></li>[% END %] |
| 138 |
[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax |html %]</li>[% END %] |
138 |
[% IF ( patron.fax ) %]<li><span class="label">Fax: </span>[% patron.fax |html %]</li>[% END %] |
| 139 |
[% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %] |
139 |
[% IF ( patron.email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% patron.email %]" href="mailto:[% patron.email | url %]">[% patron.email | html %]</a></li>[% END %] |
| 140 |
[% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %] |
140 |
[% IF ( patron.emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% patron.emailpro %]" href="mailto:[% patron.emailpro | url %]">[% patron.emailpro | html %]</a></li>[% END %] |
| 141 |
[% UNLESS ( I ) %] |
141 |
[% UNLESS ( I ) %] |
| 142 |
[% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials | html %]</li>[% END %] |
142 |
[% IF ( patron.initials ) %]<li><span class="label">Initials: </span>[% patron.initials | html %]</li>[% END %] |
| 143 |
[% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %] |
143 |
[% IF ( patron.dateofbirth ) %]<li><span class="label">Date of birth:</span>[% patron.dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %] |
| 144 |
[% IF ( sex ) %]<li><span class="label">Gender:</span> |
144 |
[% IF ( patron.sex ) %]<li><span class="label">Gender:</span> |
| 145 |
[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %] |
145 |
[% IF ( patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSE %][% patron.sex %][% END %] |
| 146 |
</li>[% END %] |
146 |
</li>[% END %] |
| 147 |
[% END %] |
147 |
[% END %] |
| 148 |
[% IF guarantees %] |
148 |
[% IF guarantees %] |
|
Lines 172-180
Link Here
|
| 172 |
</div> |
172 |
</div> |
| 173 |
<div class="action"> |
173 |
<div class="action"> |
| 174 |
[% IF ( guarantor.borrowernumber ) %] |
174 |
[% IF ( guarantor.borrowernumber ) %] |
| 175 |
<a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1&guarantorid=[% guarantor.borrowernumber %]">Edit</a> |
175 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1&guarantorid=[% guarantor.borrowernumber %]">Edit</a> |
| 176 |
[% ELSE %] |
176 |
[% ELSE %] |
| 177 |
<a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1">Edit</a> |
177 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1">Edit</a> |
| 178 |
[% END %]</div> |
178 |
[% END %]</div> |
| 179 |
|
179 |
|
| 180 |
</div> |
180 |
</div> |
|
Lines 188-203
Link Here
|
| 188 |
<fieldset class="brief"> |
188 |
<fieldset class="brief"> |
| 189 |
[% IF ( picture ) %] |
189 |
[% IF ( picture ) %] |
| 190 |
<legend>Manage patron image</legend> |
190 |
<legend>Manage patron image</legend> |
| 191 |
<div class="hint">To update the image for [% title | html %] [% surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image. |
191 |
<div class="hint">To update the image for [% patron.title | html %] [% patron.surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image. |
| 192 |
[% ELSE %] |
192 |
[% ELSE %] |
| 193 |
<legend>Upload patron image</legend> |
193 |
<legend>Upload patron image</legend> |
| 194 |
<div class="hint">[% title %] [% firstname | html %] [% surname | html %] does not currently have an image available. To import an image for [% title %] [% surname | html %], enter the name of an image file to upload. |
194 |
<div class="hint">[% patron.title %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title %] [% patron.surname | html %], enter the name of an image file to upload. |
| 195 |
[% END %] |
195 |
[% END %] |
| 196 |
<br />Only PNG, GIF, JPEG, XPM formats are supported. |
196 |
<br />Only PNG, GIF, JPEG, XPM formats are supported. |
| 197 |
</div> |
197 |
</div> |
| 198 |
<input type="hidden" id="image" name="filetype" value="image" /> |
198 |
<input type="hidden" id="image" name="filetype" value="image" /> |
| 199 |
<input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber | html %]" /> |
199 |
<input type="hidden" id="cardnumber" name="cardnumber" value="[% patron.cardnumber | html %]" /> |
| 200 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
200 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 201 |
<ol> |
201 |
<ol> |
| 202 |
<li> |
202 |
<li> |
| 203 |
<label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" /> |
203 |
<label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" /> |
|
Lines 207-213
Link Here
|
| 207 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
207 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
| 208 |
<input type="submit" value="Upload" class="submit" /> |
208 |
<input type="submit" value="Upload" class="submit" /> |
| 209 |
<input name="op" type="hidden" value="Upload" /> |
209 |
<input name="op" type="hidden" value="Upload" /> |
| 210 |
[% IF ( picture ) %]<a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&borrowernumber=[% borrowernumber %]&csrf_token=[% csrf_token %]" class="delete">Delete</a>[% END %] |
210 |
[% IF ( picture ) %]<a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&borrowernumber=[% patron.borrowernumber %]&csrf_token=[% csrf_token %]" class="delete">Delete</a>[% END %] |
| 211 |
</fieldset> |
211 |
</fieldset> |
| 212 |
</fieldset> |
212 |
</fieldset> |
| 213 |
</form> |
213 |
</form> |
|
Lines 241-247
Link Here
|
| 241 |
</ol> |
241 |
</ol> |
| 242 |
</div> |
242 |
</div> |
| 243 |
</div> |
243 |
</div> |
| 244 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div> |
244 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4">Edit</a></div> |
| 245 |
[% END %] |
245 |
[% END %] |
| 246 |
|
246 |
|
| 247 |
[% IF ( ExtendedPatronAttributes ) %] |
247 |
[% IF ( ExtendedPatronAttributes ) %] |
|
Lines 270-276
Link Here
|
| 270 |
</div> |
270 |
</div> |
| 271 |
[% END %] |
271 |
[% END %] |
| 272 |
</div> |
272 |
</div> |
| 273 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div> |
273 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4">Edit</a></div> |
| 274 |
[% END %] |
274 |
[% END %] |
| 275 |
[% END %] |
275 |
[% END %] |
| 276 |
|
276 |
|
|
Lines 280-290
Link Here
|
| 280 |
<h3>Patron messaging preferences</h3> |
280 |
<h3>Patron messaging preferences</h3> |
| 281 |
[% INCLUDE 'messaging-preference-form.inc' %] |
281 |
[% INCLUDE 'messaging-preference-form.inc' %] |
| 282 |
[% IF ( SMSSendDriver ) %] |
282 |
[% IF ( SMSSendDriver ) %] |
| 283 |
<div class="rows"> <ol><li><span class="label">SMS number:</span><a href="sms:[% SMSnumber %]">[% SMSnumber %]</a> |
283 |
<div class="rows"> <ol><li><span class="label">SMS number:</span><a href="sms:[% patron.smsalertnumber %]">[% patron.smsalertnumber %]</a> |
| 284 |
</li></ol></div> |
284 |
</li></ol></div> |
| 285 |
[% END %] |
285 |
[% END %] |
| 286 |
</div> |
286 |
</div> |
| 287 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=5">Edit</a></div> |
287 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=5">Edit</a></div> |
| 288 |
[% END %] |
288 |
[% END %] |
| 289 |
|
289 |
|
| 290 |
</div> |
290 |
</div> |
|
Lines 293-308
Link Here
|
| 293 |
<h3>Library use</h3> |
293 |
<h3>Library use</h3> |
| 294 |
<div class="rows"> |
294 |
<div class="rows"> |
| 295 |
<ol> |
295 |
<ol> |
| 296 |
<li><span class="label">Card number: </span>[% cardnumber %]</li> |
296 |
<li><span class="label">Card number: </span>[% patron.cardnumber %]</li> |
| 297 |
<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li> |
297 |
<li><span class="label">Borrowernumber: </span> [% patron.borrowernumber %]</li> |
| 298 |
<li><span class="label">Category: </span>[% categoryname %] ([% categorycode %])</li> |
298 |
<li><span class="label">Category: </span>[% patron.category.description %] ([% patron.categorycode %])</li> |
| 299 |
<li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li> |
299 |
<li><span class="label">Registration date: </span>[% patron.dateenrolled | $KohaDates %]</li> |
| 300 |
|
300 |
|
| 301 |
<li><span class="label">Expiration date: </span> |
301 |
<li><span class="label">Expiration date: </span> |
| 302 |
[% IF ( was_renewed ) %] |
302 |
[% IF ( was_renewed ) %] |
| 303 |
<strong class="reregistrinfo">[% dateexpiry | $KohaDates %]</strong> |
303 |
<strong class="reregistrinfo">[% patron.dateexpiry | $KohaDates %]</strong> |
| 304 |
[% ELSE %] |
304 |
[% ELSE %] |
| 305 |
[% dateexpiry | $KohaDates %] |
305 |
[% patron.dateexpiry | $KohaDates %] |
| 306 |
[% END %] |
306 |
[% END %] |
| 307 |
</li> |
307 |
</li> |
| 308 |
|
308 |
|
|
Lines 323-340
Link Here
|
| 323 |
[% END %] |
323 |
[% END %] |
| 324 |
</li> |
324 |
</li> |
| 325 |
|
325 |
|
| 326 |
[% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% AuthorisedValues.GetByCode('Bsort1', sort1) |html %]</li>[% END %] |
326 |
[% IF ( patron.sort1 ) %]<li><span class="label">Sort field 1:</span>[% AuthorisedValues.GetByCode('Bsort1', patron.sort1) |html %]</li>[% END %] |
| 327 |
[% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% AuthorisedValues.GetByCode('Bsort2', sort2) |html %]</li>[% END %] |
327 |
[% IF ( patron.sort2 ) %]<li><span class="label">Sort field 2:</span>[% AuthorisedValues.GetByCode('Bsort2', patron.sort2) |html %]</li>[% END %] |
| 328 |
<li><span class="label">Username: </span>[% userid |html %]</li> |
328 |
<li><span class="label">Username: </span>[% patron.userid |html %]</li> |
| 329 |
<li><span class="label">Password: </span> |
329 |
<li><span class="label">Password: </span> |
| 330 |
[% IF ( password ) %] |
330 |
[% IF ( patron.password ) %] |
| 331 |
******* |
331 |
******* |
| 332 |
[% ELSE %] |
332 |
[% ELSE %] |
| 333 |
<span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span> |
333 |
<span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber %]">Undefined</a></span> |
| 334 |
[% END %] |
334 |
[% END %] |
| 335 |
</li> |
335 |
</li> |
| 336 |
[% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes |html %]</li>[% END %] |
336 |
[% IF ( patron.borrowernotes ) %]<li><span class="label">Circulation note: </span>[% patron.borrowernotes |html %]</li>[% END %] |
| 337 |
[% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote |html %]</li>[% END %] |
337 |
[% IF ( patron.opacnote ) %]<li><span class="label">OPAC note:</span>[% patron.opacnote |html %]</li>[% END %] |
| 338 |
[% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] |
338 |
[% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] |
| 339 |
[% IF ( sync == 1 ) %] |
339 |
[% IF ( sync == 1 ) %] |
| 340 |
<li><span class="label">Activate sync: </span>Yes</li> |
340 |
<li><span class="label">Activate sync: </span>Yes</li> |
|
Lines 346-354
Link Here
|
| 346 |
[% END %] |
346 |
[% END %] |
| 347 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
347 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
| 348 |
<li><span class="label">Check previous checkouts: </span> |
348 |
<li><span class="label">Check previous checkouts: </span> |
| 349 |
[% IF ( checkprevcheckout == 'yes' ) %] |
349 |
[% IF ( patron.checkprevcheckout == 'yes' ) %] |
| 350 |
Yes |
350 |
Yes |
| 351 |
[% ELSIF ( checkprevcheckout == 'no' ) %] |
351 |
[% ELSIF ( patron.checkprevcheckout == 'no' ) %] |
| 352 |
No |
352 |
No |
| 353 |
[% ELSE %] |
353 |
[% ELSE %] |
| 354 |
Inherited |
354 |
Inherited |
|
Lines 358-370
Link Here
|
| 358 |
[% IF Koha.Preference('TranslateNotices') %] |
358 |
[% IF Koha.Preference('TranslateNotices') %] |
| 359 |
<li> |
359 |
<li> |
| 360 |
<span class="label">Preferred language for notices: </span> |
360 |
<span class="label">Preferred language for notices: </span> |
| 361 |
[% translated_language %] |
361 |
[% patron.translated_language %] |
| 362 |
</li> |
362 |
</li> |
| 363 |
[% END %] |
363 |
[% END %] |
| 364 |
</ol> |
364 |
</ol> |
| 365 |
</div> |
365 |
</div> |
| 366 |
</div> |
366 |
</div> |
| 367 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=3">Edit</a></div> |
367 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=3">Edit</a></div> |
| 368 |
|
368 |
|
| 369 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
369 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
| 370 |
<h3>Alternate address</h3> |
370 |
<h3>Alternate address</h3> |
|
Lines 376-403
Link Here
|
| 376 |
[% END %] |
376 |
[% END %] |
| 377 |
|
377 |
|
| 378 |
<div class="rows"> <ol> |
378 |
<div class="rows"> <ol> |
| 379 |
[% IF ( B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% B_phone %]">[% B_phone |html %]</a></li>[% END %] |
379 |
[% IF ( patron.B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% patron.B_phone %]">[% patron.B_phone |html %]</a></li>[% END %] |
| 380 |
[% IF ( B_email ) %]<li class="email"><span class="label">Email: </span><a title="[% B_email %]" href="mailto:[% B_email | url %]">[% B_email |html %]</a></li>[% END %] |
380 |
[% IF ( patron.B_email ) %]<li class="email"><span class="label">Email: </span><a title="[% patron.B_email %]" href="mailto:[% patron.B_email | url %]">[% B_email |html %]</a></li>[% END %] |
| 381 |
[% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote |html %]</li>[% END %] |
381 |
[% IF ( patron.contactnote ) %]<li><span class="label">Contact note: </span> [% patron.contactnote |html %]</li>[% END %] |
| 382 |
</ol> |
382 |
</ol> |
| 383 |
</div> |
383 |
</div> |
| 384 |
</div> |
384 |
</div> |
| 385 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div> |
385 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=6">Edit</a></div> |
| 386 |
|
386 |
|
| 387 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
387 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
| 388 |
<h3>Alternative contact</h3> |
388 |
<h3>Alternative contact</h3> |
| 389 |
<div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname | html %]</li> |
389 |
<div class="rows"> <ol><li><span class="label">Surname: </span>[% patron.altcontactsurname | html %]</li> |
| 390 |
<li><span class="label">First name: </span>[% altcontactfirstname | html %]</li> |
390 |
<li><span class="label">First name: </span>[% patron.altcontactfirstname | html %]</li> |
| 391 |
<li><span class="label">Address: </span>[% altcontactaddress1 | html %]</li> |
391 |
<li><span class="label">Address: </span>[% patron.altcontactaddress1 | html %]</li> |
| 392 |
<li><span class="label">Address 2: </span>[% altcontactaddress2 | html %]</li> |
392 |
<li><span class="label">Address 2: </span>[% patron.altcontactaddress2 | html %]</li> |
| 393 |
<li><span class="label">City: </span>[% altcontactaddress3 | html %]</li> |
393 |
<li><span class="label">City: </span>[% patron.altcontactaddress3 | html %]</li> |
| 394 |
[% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate | html %]</li>[% END %] |
394 |
[% IF ( patron.altcontactstate ) %]<li><span class="label">State: </span>[% patron.altcontactstate | html %]</li>[% END %] |
| 395 |
<li><span class="label">ZIP/Postal code: </span>[% altcontactzipcode | html %]</li> |
395 |
<li><span class="label">ZIP/Postal code: </span>[% patron.altcontactzipcode | html %]</li> |
| 396 |
[% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry | html %]</li>[% END %] |
396 |
[% IF ( patron.altcontactcountry ) %]<li><span class="label">Country: </span>[% patron.altcontactcountry | html %]</li>[% END %] |
| 397 |
[% IF ( altcontactphone ) %]<li><span class="label">Phone: </span><a href="tel:[% altcontactphone | url %]">[% altcontactphone | html %]</a></li>[% END %] |
397 |
[% IF ( patron.altcontactphone ) %]<li><span class="label">Phone: </span><a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a></li>[% END %] |
| 398 |
</ol></div> |
398 |
</ol></div> |
| 399 |
</div> |
399 |
</div> |
| 400 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=2">Edit</a></div> |
400 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=2">Edit</a></div> |
| 401 |
|
401 |
|
| 402 |
</div> |
402 |
</div> |
| 403 |
</div> |
403 |
</div> |
|
Lines 503-509
Link Here
|
| 503 |
<fieldset class="action"> |
503 |
<fieldset class="action"> |
| 504 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
504 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
| 505 |
<input type="hidden" name="from" value="borrower" /> |
505 |
<input type="hidden" name="from" value="borrower" /> |
| 506 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
506 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 507 |
<input type="submit" value="Suspend all holds" /> |
507 |
<input type="submit" value="Suspend all holds" /> |
| 508 |
|
508 |
|
| 509 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
509 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
|
Lines 517-523
Link Here
|
| 517 |
<fieldset class="action"> |
517 |
<fieldset class="action"> |
| 518 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
518 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
| 519 |
<input type="hidden" name="from" value="borrower" /> |
519 |
<input type="hidden" name="from" value="borrower" /> |
| 520 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
520 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 521 |
<input type="hidden" name="suspend" value="0" /> |
521 |
<input type="hidden" name="suspend" value="0" /> |
| 522 |
<input type="submit" value="Resume all suspended holds" /> |
522 |
<input type="submit" value="Resume all suspended holds" /> |
| 523 |
</form> |
523 |
</form> |
|
Lines 559-565
Link Here
|
| 559 |
/* Set some variable needed in circulation.js */ |
559 |
/* Set some variable needed in circulation.js */ |
| 560 |
var interface = "[% interface %]"; |
560 |
var interface = "[% interface %]"; |
| 561 |
var theme = "[% theme %]"; |
561 |
var theme = "[% theme %]"; |
| 562 |
var borrowernumber = "[% borrowernumber %]"; |
562 |
var borrowernumber = "[% patron.borrowernumber %]"; |
| 563 |
var branchcode = "[% Branches.GetLoggedInBranchcode() %]"; |
563 |
var branchcode = "[% Branches.GetLoggedInBranchcode() %]"; |
| 564 |
var exports_enabled = "[% Koha.Preference('ExportCircHistory') %]"; |
564 |
var exports_enabled = "[% Koha.Preference('ExportCircHistory') %]"; |
| 565 |
var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 %] |
565 |
var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 %] |