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 |
[% IF ( othernames ) %]“[% othernames | html %]”[% END %] |
219 |
[% 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 228-244
function validate1(date) {
Link Here
|
228 |
|
228 |
|
229 |
<div class="rows"> |
229 |
<div class="rows"> |
230 |
<ol> |
230 |
<ol> |
231 |
[% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %] |
231 |
[% IF ( patron.phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% patron.phone %]">[% patron.phone | html %]</a></li>[% END %] |
232 |
[% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %] |
232 |
[% IF ( patron.phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% patron.phonepro %]">[% patron.phonepro | html %]</a></li>[% END %] |
233 |
[% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %] |
233 |
[% IF ( patron.mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% patron.mobile %]">[% patron.mobile | html %]</a></li>[% END %] |
234 |
[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax |html %]</li>[% END %] |
234 |
[% IF ( patron.fax ) %]<li><span class="label">Fax: </span>[% patron.fax |html %]</li>[% END %] |
235 |
[% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %] |
235 |
[% 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 %] |
236 |
[% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %] |
236 |
[% 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 %] |
237 |
[% UNLESS ( I ) %] |
237 |
[% UNLESS ( I ) %] |
238 |
[% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials | html %]</li>[% END %] |
238 |
[% IF ( patron.initials ) %]<li><span class="label">Initials: </span>[% patron.initials | html %]</li>[% END %] |
239 |
[% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %] |
239 |
[% IF ( patron.dateofbirth ) %]<li><span class="label">Date of birth:</span>[% patron.dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %] |
240 |
[% IF ( sex ) %]<li><span class="label">Gender:</span> |
240 |
[% IF ( patron.sex ) %]<li><span class="label">Gender:</span> |
241 |
[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %] |
241 |
[% IF ( patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSE %][% patron.sex %][% END %] |
242 |
</li>[% END %] |
242 |
</li>[% END %] |
243 |
[% END %] |
243 |
[% END %] |
244 |
[% IF guarantees %] |
244 |
[% IF guarantees %] |
Lines 268-276
function validate1(date) {
Link Here
|
268 |
</div> |
268 |
</div> |
269 |
<div class="action"> |
269 |
<div class="action"> |
270 |
[% IF ( guarantor.borrowernumber ) %] |
270 |
[% IF ( guarantor.borrowernumber ) %] |
271 |
<a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1&guarantorid=[% guarantor.borrowernumber %]">Edit</a> |
271 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1&guarantorid=[% guarantor.borrowernumber %]">Edit</a> |
272 |
[% ELSE %] |
272 |
[% ELSE %] |
273 |
<a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1">Edit</a> |
273 |
<a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=1">Edit</a> |
274 |
[% END %]</div> |
274 |
[% END %]</div> |
275 |
|
275 |
|
276 |
</div> |
276 |
</div> |
Lines 284-299
function validate1(date) {
Link Here
|
284 |
<fieldset class="brief"> |
284 |
<fieldset class="brief"> |
285 |
[% IF ( picture ) %] |
285 |
[% IF ( picture ) %] |
286 |
<legend>Manage patron image</legend> |
286 |
<legend>Manage patron image</legend> |
287 |
<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. |
287 |
<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. |
288 |
[% ELSE %] |
288 |
[% ELSE %] |
289 |
<legend>Upload patron image</legend> |
289 |
<legend>Upload patron image</legend> |
290 |
<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. |
290 |
<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. |
291 |
[% END %] |
291 |
[% END %] |
292 |
<br />Only PNG, GIF, JPEG, XPM formats are supported. |
292 |
<br />Only PNG, GIF, JPEG, XPM formats are supported. |
293 |
</div> |
293 |
</div> |
294 |
<input type="hidden" id="image" name="filetype" value="image" /> |
294 |
<input type="hidden" id="image" name="filetype" value="image" /> |
295 |
<input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber | html %]" /> |
295 |
<input type="hidden" id="cardnumber" name="cardnumber" value="[% patron.cardnumber | html %]" /> |
296 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
296 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
297 |
<ol> |
297 |
<ol> |
298 |
<li> |
298 |
<li> |
299 |
<label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" /> |
299 |
<label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" /> |
Lines 303-309
function validate1(date) {
Link Here
|
303 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
303 |
<input type="hidden" name="csrf_token" value="[% csrf_token %]" /> |
304 |
<input type="submit" value="Upload" class="submit" /> |
304 |
<input type="submit" value="Upload" class="submit" /> |
305 |
<input name="op" type="hidden" value="Upload" /> |
305 |
<input name="op" type="hidden" value="Upload" /> |
306 |
[% 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 %] |
306 |
[% 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 %] |
307 |
</fieldset> |
307 |
</fieldset> |
308 |
</fieldset> |
308 |
</fieldset> |
309 |
</form> |
309 |
</form> |
Lines 337-343
function validate1(date) {
Link Here
|
337 |
</ol> |
337 |
</ol> |
338 |
</div> |
338 |
</div> |
339 |
</div> |
339 |
</div> |
340 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div> |
340 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4">Edit</a></div> |
341 |
[% END %] |
341 |
[% END %] |
342 |
|
342 |
|
343 |
[% IF ( ExtendedPatronAttributes ) %] |
343 |
[% IF ( ExtendedPatronAttributes ) %] |
Lines 366-372
function validate1(date) {
Link Here
|
366 |
</div> |
366 |
</div> |
367 |
[% END %] |
367 |
[% END %] |
368 |
</div> |
368 |
</div> |
369 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div> |
369 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=4">Edit</a></div> |
370 |
[% END %] |
370 |
[% END %] |
371 |
[% END %] |
371 |
[% END %] |
372 |
|
372 |
|
Lines 376-386
function validate1(date) {
Link Here
|
376 |
<h3>Patron messaging preferences</h3> |
376 |
<h3>Patron messaging preferences</h3> |
377 |
[% INCLUDE 'messaging-preference-form.inc' %] |
377 |
[% INCLUDE 'messaging-preference-form.inc' %] |
378 |
[% IF ( SMSSendDriver ) %] |
378 |
[% IF ( SMSSendDriver ) %] |
379 |
<div class="rows"> <ol><li><span class="label">SMS number:</span><a href="sms:[% SMSnumber %]">[% SMSnumber %]</a> |
379 |
<div class="rows"> <ol><li><span class="label">SMS number:</span><a href="sms:[% patron.smsalertnumber %]">[% patron.smsalertnumber %]</a> |
380 |
</li></ol></div> |
380 |
</li></ol></div> |
381 |
[% END %] |
381 |
[% END %] |
382 |
</div> |
382 |
</div> |
383 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=5">Edit</a></div> |
383 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=5">Edit</a></div> |
384 |
[% END %] |
384 |
[% END %] |
385 |
|
385 |
|
386 |
</div> |
386 |
</div> |
Lines 389-404
function validate1(date) {
Link Here
|
389 |
<h3>Library use</h3> |
389 |
<h3>Library use</h3> |
390 |
<div class="rows"> |
390 |
<div class="rows"> |
391 |
<ol> |
391 |
<ol> |
392 |
<li><span class="label">Card number: </span>[% cardnumber %]</li> |
392 |
<li><span class="label">Card number: </span>[% patron.cardnumber %]</li> |
393 |
<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li> |
393 |
<li><span class="label">Borrowernumber: </span> [% patron.borrowernumber %]</li> |
394 |
<li><span class="label">Category: </span>[% categoryname %] ([% categorycode %])</li> |
394 |
<li><span class="label">Category: </span>[% patron.category.description %] ([% patron.categorycode %])</li> |
395 |
<li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li> |
395 |
<li><span class="label">Registration date: </span>[% patron.dateenrolled | $KohaDates %]</li> |
396 |
|
396 |
|
397 |
<li><span class="label">Expiration date: </span> |
397 |
<li><span class="label">Expiration date: </span> |
398 |
[% IF ( was_renewed ) %] |
398 |
[% IF ( was_renewed ) %] |
399 |
<strong class="reregistrinfo">[% dateexpiry | $KohaDates %]</strong> |
399 |
<strong class="reregistrinfo">[% patron.dateexpiry | $KohaDates %]</strong> |
400 |
[% ELSE %] |
400 |
[% ELSE %] |
401 |
[% dateexpiry | $KohaDates %] |
401 |
[% patron.dateexpiry | $KohaDates %] |
402 |
[% END %] |
402 |
[% END %] |
403 |
</li> |
403 |
</li> |
404 |
|
404 |
|
Lines 419-436
function validate1(date) {
Link Here
|
419 |
[% END %] |
419 |
[% END %] |
420 |
</li> |
420 |
</li> |
421 |
|
421 |
|
422 |
[% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% AuthorisedValues.GetByCode('Bsort1', sort1) |html %]</li>[% END %] |
422 |
[% IF ( patron.sort1 ) %]<li><span class="label">Sort field 1:</span>[% AuthorisedValues.GetByCode('Bsort1', patron.sort1) |html %]</li>[% END %] |
423 |
[% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% AuthorisedValues.GetByCode('Bsort2', sort2) |html %]</li>[% END %] |
423 |
[% IF ( patron.sort2 ) %]<li><span class="label">Sort field 2:</span>[% AuthorisedValues.GetByCode('Bsort2', patron.sort2) |html %]</li>[% END %] |
424 |
<li><span class="label">Username: </span>[% userid |html %]</li> |
424 |
<li><span class="label">Username: </span>[% patron.userid |html %]</li> |
425 |
<li><span class="label">Password: </span> |
425 |
<li><span class="label">Password: </span> |
426 |
[% IF ( password ) %] |
426 |
[% IF ( patron.password ) %] |
427 |
******* |
427 |
******* |
428 |
[% ELSE %] |
428 |
[% ELSE %] |
429 |
<span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span> |
429 |
<span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber %]">Undefined</a></span> |
430 |
[% END %] |
430 |
[% END %] |
431 |
</li> |
431 |
</li> |
432 |
[% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes |html %]</li>[% END %] |
432 |
[% IF ( patron.borrowernotes ) %]<li><span class="label">Circulation note: </span>[% patron.borrowernotes |html %]</li>[% END %] |
433 |
[% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote |html %]</li>[% END %] |
433 |
[% IF ( patron.opacnote ) %]<li><span class="label">OPAC note:</span>[% patron.opacnote |html %]</li>[% END %] |
434 |
[% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] |
434 |
[% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] |
435 |
[% IF ( sync == 1 ) %] |
435 |
[% IF ( sync == 1 ) %] |
436 |
<li><span class="label">Activate sync: </span>Yes</li> |
436 |
<li><span class="label">Activate sync: </span>Yes</li> |
Lines 442-450
function validate1(date) {
Link Here
|
442 |
[% END %] |
442 |
[% END %] |
443 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
443 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
444 |
<li><span class="label">Check previous checkouts: </span> |
444 |
<li><span class="label">Check previous checkouts: </span> |
445 |
[% IF ( checkprevcheckout == 'yes' ) %] |
445 |
[% IF ( patron.checkprevcheckout == 'yes' ) %] |
446 |
Yes |
446 |
Yes |
447 |
[% ELSIF ( checkprevcheckout == 'no' ) %] |
447 |
[% ELSIF ( patron.checkprevcheckout == 'no' ) %] |
448 |
No |
448 |
No |
449 |
[% ELSE %] |
449 |
[% ELSE %] |
450 |
Inherited |
450 |
Inherited |
Lines 454-466
function validate1(date) {
Link Here
|
454 |
[% IF Koha.Preference('TranslateNotices') %] |
454 |
[% IF Koha.Preference('TranslateNotices') %] |
455 |
<li> |
455 |
<li> |
456 |
<span class="label">Preferred language for notices: </span> |
456 |
<span class="label">Preferred language for notices: </span> |
457 |
[% translated_language %] |
457 |
[% patron.translated_language %] |
458 |
</li> |
458 |
</li> |
459 |
[% END %] |
459 |
[% END %] |
460 |
</ol> |
460 |
</ol> |
461 |
</div> |
461 |
</div> |
462 |
</div> |
462 |
</div> |
463 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=3">Edit</a></div> |
463 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=3">Edit</a></div> |
464 |
|
464 |
|
465 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
465 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
466 |
<h3>Alternate address</h3> |
466 |
<h3>Alternate address</h3> |
Lines 472-499
function validate1(date) {
Link Here
|
472 |
[% END %] |
472 |
[% END %] |
473 |
|
473 |
|
474 |
<div class="rows"> <ol> |
474 |
<div class="rows"> <ol> |
475 |
[% IF ( B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% B_phone %]">[% B_phone |html %]</a></li>[% END %] |
475 |
[% IF ( patron.B_phone ) %]<li><span class="label">Phone: </span><a href="tel:[% patron.B_phone %]">[% patron.B_phone |html %]</a></li>[% END %] |
476 |
[% 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 %] |
476 |
[% 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 %] |
477 |
[% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote |html %]</li>[% END %] |
477 |
[% IF ( patron.contactnote ) %]<li><span class="label">Contact note: </span> [% patron.contactnote |html %]</li>[% END %] |
478 |
</ol> |
478 |
</ol> |
479 |
</div> |
479 |
</div> |
480 |
</div> |
480 |
</div> |
481 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div> |
481 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=6">Edit</a></div> |
482 |
|
482 |
|
483 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
483 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
484 |
<h3>Alternative contact</h3> |
484 |
<h3>Alternative contact</h3> |
485 |
<div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname | html %]</li> |
485 |
<div class="rows"> <ol><li><span class="label">Surname: </span>[% patron.altcontactsurname | html %]</li> |
486 |
<li><span class="label">First name: </span>[% altcontactfirstname | html %]</li> |
486 |
<li><span class="label">First name: </span>[% patron.altcontactfirstname | html %]</li> |
487 |
<li><span class="label">Address: </span>[% altcontactaddress1 | html %]</li> |
487 |
<li><span class="label">Address: </span>[% patron.altcontactaddress1 | html %]</li> |
488 |
<li><span class="label">Address 2: </span>[% altcontactaddress2 | html %]</li> |
488 |
<li><span class="label">Address 2: </span>[% patron.altcontactaddress2 | html %]</li> |
489 |
<li><span class="label">City: </span>[% altcontactaddress3 | html %]</li> |
489 |
<li><span class="label">City: </span>[% patron.altcontactaddress3 | html %]</li> |
490 |
[% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate | html %]</li>[% END %] |
490 |
[% IF ( patron.altcontactstate ) %]<li><span class="label">State: </span>[% patron.altcontactstate | html %]</li>[% END %] |
491 |
<li><span class="label">ZIP/Postal code: </span>[% altcontactzipcode | html %]</li> |
491 |
<li><span class="label">ZIP/Postal code: </span>[% patron.altcontactzipcode | html %]</li> |
492 |
[% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry | html %]</li>[% END %] |
492 |
[% IF ( patron.altcontactcountry ) %]<li><span class="label">Country: </span>[% patron.altcontactcountry | html %]</li>[% END %] |
493 |
[% IF ( altcontactphone ) %]<li><span class="label">Phone: </span><a href="tel:[% altcontactphone | url %]">[% altcontactphone | html %]</a></li>[% END %] |
493 |
[% IF ( patron.altcontactphone ) %]<li><span class="label">Phone: </span><a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a></li>[% END %] |
494 |
</ol></div> |
494 |
</ol></div> |
495 |
</div> |
495 |
</div> |
496 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=2">Edit</a></div> |
496 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber %]&step=2">Edit</a></div> |
497 |
|
497 |
|
498 |
</div> |
498 |
</div> |
499 |
</div> |
499 |
</div> |
Lines 600-606
function validate1(date) {
Link Here
|
600 |
<fieldset class="action"> |
600 |
<fieldset class="action"> |
601 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
601 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
602 |
<input type="hidden" name="from" value="borrower" /> |
602 |
<input type="hidden" name="from" value="borrower" /> |
603 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
603 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
604 |
<input type="submit" value="Suspend all holds" /> |
604 |
<input type="submit" value="Suspend all holds" /> |
605 |
|
605 |
|
606 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
606 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
Lines 614-620
function validate1(date) {
Link Here
|
614 |
<fieldset class="action"> |
614 |
<fieldset class="action"> |
615 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
615 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
616 |
<input type="hidden" name="from" value="borrower" /> |
616 |
<input type="hidden" name="from" value="borrower" /> |
617 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
617 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
618 |
<input type="hidden" name="suspend" value="0" /> |
618 |
<input type="hidden" name="suspend" value="0" /> |
619 |
<input type="submit" value="Resume all suspended holds" /> |
619 |
<input type="submit" value="Resume all suspended holds" /> |
620 |
</form> |
620 |
</form> |