Lines 207-212
$(document).ready(function() {
Link Here
|
207 |
<div class="dialog message">The patron has unpaid charges for holds, rentals etc of [% alert.OTHER_CHARGES %]</div> |
207 |
<div class="dialog message">The patron has unpaid charges for holds, rentals etc of [% alert.OTHER_CHARGES %]</div> |
208 |
[% END %] |
208 |
[% END %] |
209 |
|
209 |
|
|
|
210 |
[% IF alert.HIGHHOLDS %] |
211 |
<div class="dialog message">High demand item. Loan period <i>not</i> shortened to [% alert.HIGHHOLDS.duration %] days (due [% alert.HIGHHOLDS.returndate %]) due to override.</div> |
212 |
[% END %] |
213 |
|
210 |
[% IF ( NEEDSCONFIRMATION ) %] |
214 |
[% IF ( NEEDSCONFIRMATION ) %] |
211 |
<div class="yui-g"> |
215 |
<div class="yui-g"> |
212 |
|
216 |
|
Lines 299-305
$(document).ready(function() {
Link Here
|
299 |
</li> |
303 |
</li> |
300 |
[% END %] |
304 |
[% END %] |
301 |
|
305 |
|
302 |
[% IF HIGHHOLDS %] |
306 |
[% IF HIGHHOLDS %] |
303 |
<li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li> |
307 |
<li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li> |
304 |
[% END %] |
308 |
[% END %] |
305 |
|
309 |
|
Lines 314-329
$(document).ready(function() {
Link Here
|
314 |
</ul> |
318 |
</ul> |
315 |
|
319 |
|
316 |
[% IF HIGHHOLDS %] |
320 |
[% IF HIGHHOLDS %] |
317 |
<script language="JavaScript" type="text/javascript"> |
321 |
<script language="JavaScript" type="text/javascript"> |
318 |
$(document).ready(function() { |
322 |
$(document).ready(function() { |
319 |
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]'); |
323 |
[% IF !override_high_holds %] |
320 |
if ('[% duedatespec %]' === '') { |
324 |
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate %]'); |
321 |
$("input[name=restoreduedatespec]:hidden").val('highholds_empty'); |
325 |
if ('[% duedatespec %]' === '') { |
322 |
} else { |
326 |
$("input[name=restoreduedatespec]:hidden").val('highholds_empty'); |
323 |
$("input[name=restoreduedatespec]:hidden").val('[% duedatespec %]'); |
327 |
} else { |
324 |
} |
328 |
$("input[name=restoreduedatespec]:hidden").val('[% duedatespec %]'); |
325 |
}); |
329 |
} |
326 |
</script> |
330 |
[% END %] |
|
|
331 |
|
332 |
$("#override_high_holds_tmp").on( 'change', function() { |
333 |
if ( this.checked ) { |
334 |
$("input[name=duedatespec]:hidden").val(''); |
335 |
} |
336 |
}); |
337 |
}); |
338 |
</script> |
327 |
[% END %] |
339 |
[% END %] |
328 |
|
340 |
|
329 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
341 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
Lines 332-337
$(document).ready(function() {
Link Here
|
332 |
|
344 |
|
333 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
345 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
334 |
|
346 |
|
|
|
347 |
[% IF HIGHHOLDS %] |
348 |
<p> |
349 |
<input type="checkbox" name="override_high_holds_tmp" id="override_high_holds_tmp" value="1" /> |
350 |
<label for="override_high_holds_tmp">Don't decrease loan length based on holds</label> |
351 |
</p> |
352 |
[% END %] |
353 |
|
335 |
[% IF ( RESERVED ) %] |
354 |
[% IF ( RESERVED ) %] |
336 |
<p> |
355 |
<p> |
337 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" /> |
356 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" /> |
Lines 351-356
$(document).ready(function() {
Link Here
|
351 |
<input type="hidden" name="barcode" value="[% barcode |html %]" /> |
370 |
<input type="hidden" name="barcode" value="[% barcode |html %]" /> |
352 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
371 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
353 |
<input type="hidden" name="issueconfirmed" value="1" /> |
372 |
<input type="hidden" name="issueconfirmed" value="1" /> |
|
|
373 |
<input type="hidden" name="override_high_holds" value="[% override_high_holds %]"/> |
354 |
[% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %] |
374 |
[% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %] |
355 |
[% IF ( INVALID_DATE ) %] |
375 |
[% IF ( INVALID_DATE ) %] |
356 |
<p> |
376 |
<p> |
Lines 647-652
No patron matched <span class="ex">[% message %]</span>
Link Here
|
647 |
[% END %] |
667 |
[% END %] |
648 |
|
668 |
|
649 |
<label for="auto_renew">Automatic renewal</label> |
669 |
<label for="auto_renew">Automatic renewal</label> |
|
|
670 |
|
671 |
[% IF Koha.Preference('decreaseLoanHighHolds') %] |
672 |
[% IF NEEDSCONFIRMATION %] |
673 |
[% IF override_high_holds %] |
674 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked"/> |
675 |
[% ELSE %] |
676 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled"/> |
677 |
[% END %] |
678 |
[% ELSE %] |
679 |
[% IF override_high_holds %] |
680 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" checked="checked" /> |
681 |
[% ELSE %] |
682 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" /> |
683 |
[% END %] |
684 |
[% END %] |
685 |
<label for="override_high_holds">Don't decrease loan length based on holds</label> |
686 |
[% END %] |
650 |
</div> |
687 |
</div> |
651 |
[% END %] |
688 |
[% END %] |
652 |
|
689 |
|