|
Lines 27-33
Link Here
|
| 27 |
/* Set some variable needed in circulation.js */ |
27 |
/* Set some variable needed in circulation.js */ |
| 28 |
var interface = "[% interface %]"; |
28 |
var interface = "[% interface %]"; |
| 29 |
var theme = "[% theme %]"; |
29 |
var theme = "[% theme %]"; |
| 30 |
var borrowernumber = "[% borrowernumber %]"; |
30 |
var borrowernumber = "[% patron.borrowernumber %]"; |
| 31 |
var branchcode = "[% Branches.GetLoggedInBranchcode() %]"; |
31 |
var branchcode = "[% Branches.GetLoggedInBranchcode() %]"; |
| 32 |
var exports_enabled = "[% Koha.Preference('ExportCircHistory') %]"; |
32 |
var exports_enabled = "[% Koha.Preference('ExportCircHistory') %]"; |
| 33 |
var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 %] |
33 |
var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 %] |
|
Lines 46-52
$(document).ready(function() {
Link Here
|
| 46 |
if ( $('#clubs-tab').length ) { |
46 |
if ( $('#clubs-tab').length ) { |
| 47 |
$('#clubs-tab-link').on('click', function() { |
47 |
$('#clubs-tab-link').on('click', function() { |
| 48 |
$('#clubs-tab').text(_("Loading...")); |
48 |
$('#clubs-tab').text(_("Loading...")); |
| 49 |
$('#clubs-tab').load('/cgi-bin/koha/clubs/patron-clubs-tab.pl?borrowernumber=[% borrowernumber %]'); |
49 |
$('#clubs-tab').load('/cgi-bin/koha/clubs/patron-clubs-tab.pl?borrowernumber=[% patron.borrowernumber %]'); |
| 50 |
}); |
50 |
}); |
| 51 |
} |
51 |
} |
| 52 |
|
52 |
|
|
Lines 174-180
function validate1(date) {
Link Here
|
| 174 |
[% END %] |
174 |
[% END %] |
| 175 |
<div class="yui-g"> |
175 |
<div class="yui-g"> |
| 176 |
|
176 |
|
| 177 |
[% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry | $KohaDates %]</div>[% END %] |
177 |
[% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]</div>[% END %] |
| 178 |
|
178 |
|
| 179 |
[% IF fines %] |
179 |
[% IF fines %] |
| 180 |
<div id="circmessages" class="circmessage attention"> |
180 |
<div id="circmessages" class="circmessage attention"> |
|
Lines 205-222
function validate1(date) {
Link Here
|
| 205 |
<a href="#reldebarments" id="view_restrictions">View restrictions</a> |
205 |
<a href="#reldebarments" id="view_restrictions">View restrictions</a> |
| 206 |
</li> |
206 |
</li> |
| 207 |
[% END %] |
207 |
[% END %] |
| 208 |
[% IF ( gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %] |
208 |
[% IF ( patron.gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %] |
| 209 |
[% IF ( lost ) %]<li class="blocker">Patron's card has been reported lost.</li>[% END %] |
209 |
[% IF ( lost ) %]<li class="blocker">Patron's card has been reported lost.</li>[% END %] |
| 210 |
</ul> |
210 |
</ul> |
| 211 |
</div> |
211 |
</div> |
| 212 |
[% END %] |
212 |
[% END %] |
| 213 |
|
213 |
|
| 214 |
<h3>[% UNLESS ( I ) %] |
214 |
<h3>[% UNLESS ( I ) %] |
| 215 |
[% title | html %] [% firstname | html %] [% END %] [% surname | html %] ([% cardnumber | html %])</h3> |
215 |
[% patron.title | html %] [% patron.firstname | html %] [% END %] [% patron.surname | html %] ([% patron.cardnumber | html %])</h3> |
| 216 |
<div class="yui-u first"> |
216 |
<div class="yui-u first"> |
| 217 |
<div id="patron-information" style="padding : .5em;"> |
217 |
<div id="patron-information" style="padding : .5em;"> |
| 218 |
|
218 |
|
| 219 |
[% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames | html %]”[% END %] |
219 |
[% UNLESS ( I ) %][% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %] |
| 220 |
|
220 |
|
| 221 |
<div class = "address"> |
221 |
<div class = "address"> |
| 222 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
222 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
|
Lines 229-251
function validate1(date) {
Link Here
|
| 229 |
<div class="rows"> |
229 |
<div class="rows"> |
| 230 |
<ol> |
230 |
<ol> |
| 231 |
[% IF ( I ) %] |
231 |
[% IF ( I ) %] |
| 232 |
[% IF ( phonepro ) %]<li><span class="label">Organization phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %] |
232 |
[% IF ( patron.phonepro ) %]<li><span class="label">Organization phone: </span><a href="tel:[% patron.phonepro %]">[% patron.phonepro | html %]</a></li>[% END %] |
| 233 |
[% IF ( emailpro ) %]<li class="email"><span class="label">Organization email: </span>[% emailpro | html %]</li>[% END %] |
233 |
[% IF ( patron.emailpro ) %]<li class="email"><span class="label">Organization email: </span>[% patron.emailpro | html %]</li>[% END %] |
| 234 |
[% ELSE %] |
234 |
[% ELSE %] |
| 235 |
[% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %] |
235 |
[% IF ( patron.phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% patron.phone %]">[% patron.phone | html %]</a></li>[% END %] |
| 236 |
[% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %] |
236 |
[% IF ( patron.phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% patron.phonepro %]">[% patron.phonepro | html %]</a></li>[% END %] |
| 237 |
[% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %] |
237 |
[% IF ( patron.mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% patron.mobile %]">[% patron.mobile | html %]</a></li>[% END %] |
| 238 |
[% END %] |
238 |
[% END %] |
| 239 |
|
239 |
|
| 240 |
[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %] |
240 |
[% IF ( patron.fax ) %]<li><span class="label">Fax: </span>[% patron.fax %]</li>[% END %] |
| 241 |
[% UNLESS ( I ) %] |
241 |
[% UNLESS ( I ) %] |
| 242 |
[% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %] |
242 |
[% 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 %] |
| 243 |
[% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %] |
243 |
[% 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 %] |
| 244 |
[% END %] |
244 |
[% END %] |
| 245 |
[% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %] |
245 |
[% IF ( patron.initials ) %]<li><span class="label">Initials: </span>[% patron.initials %]</li>[% END %] |
| 246 |
[% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %] |
246 |
[% IF ( patron.dateofbirth ) %]<li><span class="label">Date of birth:</span>[% patron.dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %] |
| 247 |
[% IF ( sex ) %]<li><span class="label">Gender:</span> |
247 |
[% IF ( patron.sex ) %]<li><span class="label">Gender:</span> |
| 248 |
[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %] |
248 |
[% IF ( patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSE %][% patron.sex %][% END %] |
| 249 |
</li>[% END %][% END %] |
249 |
</li>[% END %][% END %] |
| 250 |
[% IF guarantees %] |
250 |
[% IF guarantees %] |
| 251 |
<li> |
251 |
<li> |
|
Lines 274-282
function validate1(date) {
Link Here
|
| 274 |
</div> |
274 |
</div> |
| 275 |
<div class="action"> |
275 |
<div class="action"> |
| 276 |
[% IF ( guarantor.borrowernumber ) %] |
276 |
[% IF ( guarantor.borrowernumber ) %] |
| 277 |
<a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1&guarantorid=[% guarantor.borrowernumber %]">Edit</a> |
277 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1&guarantorid=[% guarantor.borrowernumber %]">Edit</a> |
| 278 |
[% ELSE %] |
278 |
[% ELSE %] |
| 279 |
<a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1">Edit</a> |
279 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1">Edit</a> |
| 280 |
[% END %]</div> |
280 |
[% END %]</div> |
| 281 |
|
281 |
|
| 282 |
</div> |
282 |
</div> |
|
Lines 290-305
function validate1(date) {
Link Here
|
| 290 |
<fieldset class="brief"> |
290 |
<fieldset class="brief"> |
| 291 |
[% IF ( picture ) %] |
291 |
[% IF ( picture ) %] |
| 292 |
<legend>Manage patron image</legend> |
292 |
<legend>Manage patron image</legend> |
| 293 |
<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. |
293 |
<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. |
| 294 |
[% ELSE %] |
294 |
[% ELSE %] |
| 295 |
<legend>Upload patron image</legend> |
295 |
<legend>Upload patron image</legend> |
| 296 |
<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. |
296 |
<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. |
| 297 |
[% END %] |
297 |
[% END %] |
| 298 |
<br />Only PNG, GIF, JPEG, XPM formats are supported. |
298 |
<br />Only PNG, GIF, JPEG, XPM formats are supported. |
| 299 |
</div> |
299 |
</div> |
| 300 |
<input type="hidden" id="image" name="filetype" value="image" /> |
300 |
<input type="hidden" id="image" name="filetype" value="image" /> |
| 301 |
<input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber | html %]" /> |
301 |
<input type="hidden" id="cardnumber" name="cardnumber" value="[% patron.cardnumber | html %]" /> |
| 302 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
302 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 303 |
<ol> |
303 |
<ol> |
| 304 |
<li> |
304 |
<li> |
| 305 |
<label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" /> |
305 |
<label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" /> |
|
Lines 309-315
function validate1(date) {
Link Here
|
| 309 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
309 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
| 310 |
<input type="submit" value="Upload" class="submit" /> |
310 |
<input type="submit" value="Upload" class="submit" /> |
| 311 |
<input name="op" type="hidden" value="Upload" /> |
311 |
<input name="op" type="hidden" value="Upload" /> |
| 312 |
[% 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 %] |
312 |
[% 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 %] |
| 313 |
</fieldset> |
313 |
</fieldset> |
| 314 |
</fieldset> |
314 |
</fieldset> |
| 315 |
</form> |
315 |
</form> |
|
Lines 343-349
function validate1(date) {
Link Here
|
| 343 |
</ol> |
343 |
</ol> |
| 344 |
</div> |
344 |
</div> |
| 345 |
</div> |
345 |
</div> |
| 346 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div> |
346 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4">Edit</a></div> |
| 347 |
[% END %] |
347 |
[% END %] |
| 348 |
|
348 |
|
| 349 |
[% IF ( ExtendedPatronAttributes ) %] |
349 |
[% IF ( ExtendedPatronAttributes ) %] |
|
Lines 372-378
function validate1(date) {
Link Here
|
| 372 |
</div> |
372 |
</div> |
| 373 |
[% END %] |
373 |
[% END %] |
| 374 |
</div> |
374 |
</div> |
| 375 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div> |
375 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4">Edit</a></div> |
| 376 |
[% END %] |
376 |
[% END %] |
| 377 |
[% END %] |
377 |
[% END %] |
| 378 |
|
378 |
|
|
Lines 382-392
function validate1(date) {
Link Here
|
| 382 |
<h3>Patron messaging preferences</h3> |
382 |
<h3>Patron messaging preferences</h3> |
| 383 |
[% INCLUDE 'messaging-preference-form.inc' %] |
383 |
[% INCLUDE 'messaging-preference-form.inc' %] |
| 384 |
[% IF ( SMSSendDriver ) %] |
384 |
[% IF ( SMSSendDriver ) %] |
| 385 |
<div class="rows"> <ol><li><span class="label">SMS number:</span><a href="sms:[% SMSnumber %]">[% SMSnumber %]</a> |
385 |
<div class="rows"> <ol><li><span class="label">SMS number:</span><a href="sms:[% patron.smsalertnumber %]">[% patron.smsalertnumber %]</a> |
| 386 |
</li></ol></div> |
386 |
</li></ol></div> |
| 387 |
[% END %] |
387 |
[% END %] |
| 388 |
</div> |
388 |
</div> |
| 389 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=5">Edit</a></div> |
389 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=5">Edit</a></div> |
| 390 |
[% END %] |
390 |
[% END %] |
| 391 |
|
391 |
|
| 392 |
</div> |
392 |
</div> |
|
Lines 395-410
function validate1(date) {
Link Here
|
| 395 |
<h3>Library use</h3> |
395 |
<h3>Library use</h3> |
| 396 |
<div class="rows"> |
396 |
<div class="rows"> |
| 397 |
<ol> |
397 |
<ol> |
| 398 |
<li><span class="label">Card number: </span>[% cardnumber %]</li> |
398 |
<li><span class="label">Card number: </span>[% patron.cardnumber %]</li> |
| 399 |
<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li> |
399 |
<li><span class="label">Borrowernumber: </span> [% patron.borrowernumber %]</li> |
| 400 |
<li><span class="label">Category: </span>[% description %] ([% categorycode %])</li> |
400 |
<li><span class="label">Category: </span>[% patron.category.description %] ([% patron.categorycode %])</li> |
| 401 |
<li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li> |
401 |
<li><span class="label">Registration date: </span>[% patron.dateenrolled | $KohaDates %]</li> |
| 402 |
|
402 |
|
| 403 |
<li><span class="label">Expiration date: </span> |
403 |
<li><span class="label">Expiration date: </span> |
| 404 |
[% IF ( was_renewed ) %] |
404 |
[% IF ( was_renewed ) %] |
| 405 |
<strong class="reregistrinfo">[% dateexpiry | $KohaDates %]</strong> |
405 |
<strong class="reregistrinfo">[% patron.dateexpiry | $KohaDates %]</strong> |
| 406 |
[% ELSE %] |
406 |
[% ELSE %] |
| 407 |
[% dateexpiry | $KohaDates %] |
407 |
[% patron.dateexpiry | $KohaDates %] |
| 408 |
[% END %] |
408 |
[% END %] |
| 409 |
</li> |
409 |
</li> |
| 410 |
|
410 |
|
|
Lines 425-442
function validate1(date) {
Link Here
|
| 425 |
[% END %] |
425 |
[% END %] |
| 426 |
</li> |
426 |
</li> |
| 427 |
|
427 |
|
| 428 |
[% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% AuthorisedValues.GetByCode('Bsort1', sort1) %]</li>[% END %] |
428 |
[% IF ( patron.sort1 ) %]<li><span class="label">Sort field 1:</span>[% AuthorisedValues.GetByCode('Bsort1', patron.sort1) %]</li>[% END %] |
| 429 |
[% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% AuthorisedValues.GetByCode('Bsort2', sort2) %]</li>[% END %] |
429 |
[% IF ( patron.sort2 ) %]<li><span class="label">Sort field 2:</span>[% AuthorisedValues.GetByCode('Bsort2', patron.sort2) %]</li>[% END %] |
| 430 |
<li><span class="label">Username: </span>[% userid %]</li> |
430 |
<li><span class="label">Username: </span>[% patron.userid %]</li> |
| 431 |
<li><span class="label">Password: </span> |
431 |
<li><span class="label">Password: </span> |
| 432 |
[% IF ( password ) %] |
432 |
[% IF ( patron.password ) %] |
| 433 |
******* |
433 |
******* |
| 434 |
[% ELSE %] |
434 |
[% ELSE %] |
| 435 |
<span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span> |
435 |
<span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber %]">Undefined</a></span> |
| 436 |
[% END %] |
436 |
[% END %] |
| 437 |
</li> |
437 |
</li> |
| 438 |
[% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes %]</li>[% END %] |
438 |
[% IF ( patron.borrowernotes ) %]<li><span class="label">Circulation note: </span>[% patron.borrowernotes %]</li>[% END %] |
| 439 |
[% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote %]</li>[% END %] |
439 |
[% IF ( patron.opacnote ) %]<li><span class="label">OPAC note:</span>[% patron.opacnote %]</li>[% END %] |
| 440 |
[% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] |
440 |
[% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] |
| 441 |
[% IF ( sync == 1 ) %] |
441 |
[% IF ( sync == 1 ) %] |
| 442 |
<li><span class="label">Activate sync: </span>Yes</li> |
442 |
<li><span class="label">Activate sync: </span>Yes</li> |
|
Lines 448-456
function validate1(date) {
Link Here
|
| 448 |
[% END %] |
448 |
[% END %] |
| 449 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
449 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
| 450 |
<li><span class="label">Check previous checkouts: </span> |
450 |
<li><span class="label">Check previous checkouts: </span> |
| 451 |
[% IF ( checkprevcheckout == 'yes' ) %] |
451 |
[% IF ( patron.checkprevcheckout == 'yes' ) %] |
| 452 |
Yes |
452 |
Yes |
| 453 |
[% ELSIF ( checkprevcheckout == 'no' ) %] |
453 |
[% ELSIF ( patron.checkprevcheckout == 'no' ) %] |
| 454 |
No |
454 |
No |
| 455 |
[% ELSE %] |
455 |
[% ELSE %] |
| 456 |
Inherited |
456 |
Inherited |
|
Lines 460-472
function validate1(date) {
Link Here
|
| 460 |
[% IF Koha.Preference('TranslateNotices') %] |
460 |
[% IF Koha.Preference('TranslateNotices') %] |
| 461 |
<li> |
461 |
<li> |
| 462 |
<span class="label">Preferred language for notices: </span> |
462 |
<span class="label">Preferred language for notices: </span> |
| 463 |
[% translated_language %] |
463 |
[% patron.translated_language %] |
| 464 |
</li> |
464 |
</li> |
| 465 |
[% END %] |
465 |
[% END %] |
| 466 |
</ol> |
466 |
</ol> |
| 467 |
</div> |
467 |
</div> |
| 468 |
</div> |
468 |
</div> |
| 469 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=3">Edit</a></div> |
469 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=3">Edit</a></div> |
| 470 |
|
470 |
|
| 471 |
[% UNLESS ( I ) %] |
471 |
[% UNLESS ( I ) %] |
| 472 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
472 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
|
Lines 479-507
function validate1(date) {
Link Here
|
| 479 |
[% END %] |
479 |
[% END %] |
| 480 |
|
480 |
|
| 481 |
<div class="rows"> <ol> |
481 |
<div class="rows"> <ol> |
| 482 |
[% IF ( B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% B_phone %]">[% B_phone %]</a></li>[% END %] |
482 |
[% IF ( patron.B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% patron.B_phone %]">[% patron.B_phone %]</a></li>[% END %] |
| 483 |
[% IF ( B_email ) %]<li class="email"><span class="label">Email: </span><a title="[% B_email %]" href="mailto:[% B_email %]">[% B_email %]</a></li>[% END %] |
483 |
[% IF ( patron.B_email ) %]<li class="email"><span class="label">Email: </span><a title="[% patron.B_email %]" href="mailto:[% patron.B_email %]">[% patron.B_email %]</a></li>[% END %] |
| 484 |
[% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote %]</li>[% END %] |
484 |
[% IF ( patron.contactnote ) %]<li><span class="label">Contact note: </span> [% patron.contactnote %]</li>[% END %] |
| 485 |
</ol> |
485 |
</ol> |
| 486 |
</div> |
486 |
</div> |
| 487 |
</div> |
487 |
</div> |
| 488 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div> |
488 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=6">Edit</a></div> |
| 489 |
[% END %] |
489 |
[% END %] |
| 490 |
|
490 |
|
| 491 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
491 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
| 492 |
<h3>Alternative contact</h3> |
492 |
<h3>Alternative contact</h3> |
| 493 |
<div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname | html %]</li> |
493 |
<div class="rows"> <ol><li><span class="label">Surname: </span>[% patron.altcontactsurname | html %]</li> |
| 494 |
<li><span class="label">First name: </span>[% altcontactfirstname | html %]</li> |
494 |
<li><span class="label">First name: </span>[% patron.altcontactfirstname | html %]</li> |
| 495 |
<li><span class="label">Address: </span>[% altcontactaddress1 | html %]</li> |
495 |
<li><span class="label">Address: </span>[% patron.altcontactaddress1 | html %]</li> |
| 496 |
<li><span class="label">Address 2: </span>[% altcontactaddress2 | html %]</li> |
496 |
<li><span class="label">Address 2: </span>[% patron.altcontactaddress2 | html %]</li> |
| 497 |
<li><span class="label">City: </span>[% altcontactaddress3 | html %]</li> |
497 |
<li><span class="label">City: </span>[% patron.altcontactaddress3 | html %]</li> |
| 498 |
[% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate | html %]</li>[% END %] |
498 |
[% IF ( patron.altcontactstate ) %]<li><span class="label">State: </span>[% patron.altcontactstate | html %]</li>[% END %] |
| 499 |
<li><span class="label">ZIP/Postal code: </span>[% altcontactzipcode | html %]</li> |
499 |
<li><span class="label">ZIP/Postal code: </span>[% patron.altcontactzipcode | html %]</li> |
| 500 |
[% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry | html %]</li>[% END %] |
500 |
[% IF ( patron.altcontactcountry ) %]<li><span class="label">Country: </span>[% patron.altcontactcountry | html %]</li>[% END %] |
| 501 |
[% IF ( altcontactphone ) %]<li><span class="label">Phone: </span><a href="tel:[% altcontactphone | url %]">[% altcontactphone | html %]</a></li>[% END %] |
501 |
[% IF ( patron.altcontactphone ) %]<li><span class="label">Phone: </span><a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a></li>[% END %] |
| 502 |
</ol></div> |
502 |
</ol></div> |
| 503 |
</div> |
503 |
</div> |
| 504 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=2">Edit</a></div> |
504 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=2">Edit</a></div> |
| 505 |
|
505 |
|
| 506 |
</div> |
506 |
</div> |
| 507 |
</div> |
507 |
</div> |
|
Lines 608-614
function validate1(date) {
Link Here
|
| 608 |
<fieldset class="action"> |
608 |
<fieldset class="action"> |
| 609 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
609 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
| 610 |
<input type="hidden" name="from" value="borrower" /> |
610 |
<input type="hidden" name="from" value="borrower" /> |
| 611 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
611 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 612 |
<input type="submit" value="Suspend all holds" /> |
612 |
<input type="submit" value="Suspend all holds" /> |
| 613 |
|
613 |
|
| 614 |
[% IF AutoResumeSuspendedHolds %] |
614 |
[% IF AutoResumeSuspendedHolds %] |
|
Lines 622-628
function validate1(date) {
Link Here
|
| 622 |
<fieldset class="action"> |
622 |
<fieldset class="action"> |
| 623 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
623 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
| 624 |
<input type="hidden" name="from" value="borrower" /> |
624 |
<input type="hidden" name="from" value="borrower" /> |
| 625 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
625 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 626 |
<input type="hidden" name="suspend" value="0" /> |
626 |
<input type="hidden" name="suspend" value="0" /> |
| 627 |
<input type="submit" value="Resume all suspended holds" /> |
627 |
<input type="submit" value="Resume all suspended holds" /> |
| 628 |
</form> |
628 |
</form> |