View | Details | Raw Unified | Return to bug 11882
Collapse All | Expand All

(-)a/circ/circulation.pl (+7 lines)
Lines 377-382 if ($barcode) { Link Here
377
    
377
    
378
    my ( $od, $issue, $fines ) = GetMemberIssuesAndFines($borrowernumber);
378
    my ( $od, $issue, $fines ) = GetMemberIssuesAndFines($borrowernumber);
379
    $template->param( issuecount => $issue );
379
    $template->param( issuecount => $issue );
380
381
    if ($question->{RESERVE_WAITING} or $question->{RESERVED}){
382
        $template->param(
383
            reserveborrowernumber => $question->{'resborrowernumber'},
384
            itembiblionumber => $getmessageiteminfo->{'biblionumber'}
385
        );
386
    }
380
}
387
}
381
388
382
# reload the borrower info for the sake of reseting the flags.....
389
# reload the borrower info for the sake of reseting the flags.....
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +21 lines)
Lines 60-65 function toggle_onsite_checkout(){ Link Here
60
    }
60
    }
61
}
61
}
62
62
63
function Dopop(link) {
64
    var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
65
}
63
$(document).ready(function() {
66
$(document).ready(function() {
64
    $('#mainform').on('submit',function() {
67
    $('#mainform').on('submit',function() {
65
        $('#barcode').on('keypress',function(event) {
68
        $('#barcode').on('keypress',function(event) {
Lines 325-330 $(document).ready(function() { Link Here
325
</form>
328
</form>
326
[% END %]
329
[% END %]
327
330
331
[% IF ( RESERVED ) %]
332
<form method="get" action="/cgi-bin/koha/circ/circulation.pl">
333
    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
334
    <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
335
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
336
    <input class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;op=slip');this.form.submit();" value="Don't Check Out and Print Slip (P)">
337
</form>
338
[% END %]
339
340
[% IF ( RESERVE_WAITING ) %]
341
<form method="get" action="/cgi-bin/koha/circ/circulation.pl">
342
    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
343
    <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
344
    <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
345
    <input class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber %]&amp;biblionumber=[% itembiblionumber %]&amp;op=slip');this.form.submit();" value="Don't Check Out and Print Slip (P)">
346
</form>
347
[% END %]
348
328
<form method="get" action="/cgi-bin/koha/circ/circulation.pl">
349
<form method="get" action="/cgi-bin/koha/circ/circulation.pl">
329
    [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
350
    [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
330
    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
351
    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
331
- 

Return to bug 11882