|
Lines 42-48
var MSG_ADD_MESSAGE = _("Add a new message");
Link Here
|
| 42 |
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); |
42 |
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); |
| 43 |
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] |
43 |
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] |
| 44 |
[% UNLESS ( borrowernumber ) %][% UNLESS ( selectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
44 |
[% UNLESS ( borrowernumber ) %][% UNLESS ( selectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
| 45 |
|
45 |
function Dopop(link) { |
|
|
46 |
var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top'); |
| 47 |
} |
| 46 |
$(document).ready(function() { |
48 |
$(document).ready(function() { |
| 47 |
[% IF !( CircAutoPrintQuickSlip == 'clear' ) %] |
49 |
[% IF !( CircAutoPrintQuickSlip == 'clear' ) %] |
| 48 |
// listen submit to trigger qslip on empty checkout |
50 |
// listen submit to trigger qslip on empty checkout |
|
Lines 289-304
$(document).ready(function() {
Link Here
|
| 289 |
[% END %] |
291 |
[% END %] |
| 290 |
|
292 |
|
| 291 |
[% IF ( RESERVED ) %] |
293 |
[% IF ( RESERVED ) %] |
| 292 |
<form method="get" action="/cgi-bin/koha/circ/returns.pl"> |
294 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
| 293 |
<input type="hidden" name="barcode" value="[% barcode %]" /> |
295 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
| 294 |
<input type="submit" class="print" value="Don't Check Out and Print Slip (P)" accesskey="p" /> |
296 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
|
|
297 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
| 298 |
<input class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip');this.form.submit();" value="Don't Check Out and Print Slip (P)"> |
| 295 |
</form> |
299 |
</form> |
| 296 |
[% END %] |
300 |
[% END %] |
| 297 |
|
301 |
|
| 298 |
[% IF ( RESERVE_WAITING ) %] |
302 |
[% IF ( RESERVE_WAITING ) %] |
| 299 |
<form method="get" action="/cgi-bin/koha/circ/returns.pl"> |
303 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
| 300 |
<input type="hidden" name="barcode" value="[% barcode %]" /> |
304 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
| 301 |
<input type="submit" class="print" value="Don't Check Out and Print Slip (P)" accesskey="p" /> |
305 |
<input type="hidden" name="duedatespec" value="[% duedatespec %]" /> |
|
|
306 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> |
| 307 |
<input class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber %]&biblionumber=[% itembiblionumber %]&op=slip');this.form.submit();" value="Don't Check Out and Print Slip (P)"> |
| 302 |
</form> |
308 |
</form> |
| 303 |
[% END %] |
309 |
[% END %] |
| 304 |
|
310 |
|
| 305 |
- |
|
|