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

(-)a/circ/circulation.pl (-1 / +3 lines)
Lines 523-528 if ( @$barcodes && $op eq 'cud-checkout' ) { Link Here
523
                    next
523
                    next
524
                        if $patron_match
524
                        if $patron_match
525
                        && scalar(@conf_keys) > 0
525
                        && scalar(@conf_keys) > 0
526
                        && $needsconfirmation_key ne 'QUOTA_SELECT'
526
                        && grep( { $needsconfirmation_key eq $_ } @conf_keys );
527
                        && grep( { $needsconfirmation_key eq $_ } @conf_keys );
527
528
528
                    $template_params->{$needsconfirmation_key}    = $needsconfirmation->{$needsconfirmation_key};
529
                    $template_params->{$needsconfirmation_key}    = $needsconfirmation->{$needsconfirmation_key};
Lines 530-536 if ( @$barcodes && $op eq 'cud-checkout' ) { Link Here
530
                    $template_params->{getBarcodeMessageIteminfo} = $item->barcode;
531
                    $template_params->{getBarcodeMessageIteminfo} = $item->barcode;
531
                    $template_params->{NEEDSCONFIRMATION}         = 1;
532
                    $template_params->{NEEDSCONFIRMATION}         = 1;
532
                    $confirm_required                             = 1;
533
                    $confirm_required                             = 1;
533
                    push( @{ $template_params->{sessionConfirmationKeys} }, $needsconfirmation_key );
534
                    push( @{ $template_params->{sessionConfirmationKeys} }, $needsconfirmation_key )
535
                        unless $needsconfirmation_key eq 'QUOTA_SELECT';
534
                }
536
                }
535
            }
537
            }
536
            unless ($confirm_required) {
538
            unless ($confirm_required) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-9 / +12 lines)
Lines 468-477 Link Here
468
                        [% IF ( RENEW_ISSUE ) %]
468
                        [% IF ( RENEW_ISSUE ) %]
469
                            <button type="submit" class="btn btn-default approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button>
469
                            <button type="submit" class="btn btn-default approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button>
470
                        [% ELSE %]
470
                        [% ELSE %]
471
                            <p>
471
                            [% IF sessionConfirmationKeys.size %]
472
                                <label for="patron_session_confirmation">Remember for the session for this patron</label>
472
                                <p>
473
                                <input type="checkbox" id="patron_session_confirmation" name="patron_session_confirmation" />
473
                                    <label for="patron_session_confirmation">Remember for the session for this patron</label>
474
                            </p>
474
                                    <input type="checkbox" id="patron_session_confirmation" name="patron_session_confirmation" />
475
                                </p>
476
                            [% END %]
475
                            <button type="submit" class="btn btn-default approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button>
477
                            <button type="submit" class="btn btn-default approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button>
476
                        [% END %]
478
                        [% END %]
477
479
Lines 502-511 Link Here
502
                    [% IF ( RENEW_ISSUE ) %]
504
                    [% IF ( RENEW_ISSUE ) %]
503
                        <button type="submit" class="btn btn-default approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button>
505
                        <button type="submit" class="btn btn-default approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button>
504
                    [% ELSE %]
506
                    [% ELSE %]
505
                        <p>
507
                        [% IF sessionConfirmationKeys.size %]
506
                            <label for="patron_session_confirmation">Remember for the session for this patron</label>
508
                            <p>
507
                            <input type="checkbox" id="patron_session_confirmation" name="patron_session_confirmation" />
509
                                <label for="patron_session_confirmation">Remember for the session for this patron</label>
508
                        </p>
510
                                <input type="checkbox" id="patron_session_confirmation" name="patron_session_confirmation" />
511
                            </p>
512
                        [% END %]
509
                        <button type="submit" class="btn btn-default approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button>
513
                        <button type="submit" class="btn btn-default approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button>
510
                    [% END %]
514
                    [% END %]
511
515
512
- 

Return to bug 38924