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

(-)a/circ/circulation.pl (-1 lines)
Lines 586-592 $template->param( Link Here
586
    canned_bor_notes_loop     => $canned_notes,
586
    canned_bor_notes_loop     => $canned_notes,
587
    debarments                => GetDebarments({ borrowernumber => $borrowernumber }),
587
    debarments                => GetDebarments({ borrowernumber => $borrowernumber }),
588
    todaysdate                => dt_from_string()->set(hour => 23)->set(minute => 59),
588
    todaysdate                => dt_from_string()->set(hour => 23)->set(minute => 59),
589
    onsite_checkout_forced    => C4::Context->preference("OnSiteCheckoutsForce"),
590
);
589
);
591
590
592
output_html_with_http_headers $query, $cookie, $template->output;
591
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-4 / +3 lines)
Lines 485-491 No patron matched <span class="ex">[% message %]</span> Link Here
485
485
486
[% IF ( borrowernumber ) %]
486
[% IF ( borrowernumber ) %]
487
<div class="yui-g">
487
<div class="yui-g">
488
[% IF !noissues || onsite_checkout_forced %]
488
[% IF !noissues || Koha.Preference('OnSiteCheckoutsForce') %]
489
[% IF ( flagged ) %]
489
[% IF ( flagged ) %]
490
<div class="yui-u first">
490
<div class="yui-u first">
491
[% ELSE %]
491
[% ELSE %]
Lines 559-565 No patron matched <span class="ex">[% message %]</span> Link Here
559
[% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
559
[% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
560
560
561
    [% IF flagged %]
561
    [% IF flagged %]
562
      [% IF NOT noissues || ( noissues && onsite_checkout_forced ) %]
562
      [% IF NOT noissues || ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
563
        <div id="circmessages" class="circmessage attention">
563
        <div id="circmessages" class="circmessage attention">
564
      [% ELSE %]
564
      [% ELSE %]
565
        <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
565
        <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
Lines 568-574 No patron matched <span class="ex">[% message %]</span> Link Here
568
      <h3>
568
      <h3>
569
        [% IF noissues %]
569
        [% IF noissues %]
570
          Cannot check out!
570
          Cannot check out!
571
          [% IF onsite_checkout_forced %]
571
          [% IF Koha.Preference('OnSiteCheckoutsForce') %]
572
            <span style="color:red;">Only on-site checkouts are allowed</span>
572
            <span style="color:red;">Only on-site checkouts are allowed</span>
573
          [% END %]
573
          [% END %]
574
        [% ELSE %]
574
        [% ELSE %]
575
- 

Return to bug 10860