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

(-)a/circ/circulation.pl (-1 lines)
Lines 601-607 $template->param( Link Here
601
    canned_bor_notes_loop     => $canned_notes,
601
    canned_bor_notes_loop     => $canned_notes,
602
    debarments                => GetDebarments({ borrowernumber => $borrowernumber }),
602
    debarments                => GetDebarments({ borrowernumber => $borrowernumber }),
603
    todaysdate                => dt_from_string()->set(hour => 23)->set(minute => 59),
603
    todaysdate                => dt_from_string()->set(hour => 23)->set(minute => 59),
604
    onsite_checkout_forced    => C4::Context->preference("OnSiteCheckoutsForce"),
605
);
604
);
606
605
607
output_html_with_http_headers $query, $cookie, $template->output;
606
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-4 / +3 lines)
Lines 499-505 No patron matched <span class="ex">[% message %]</span> Link Here
499
499
500
[% IF ( borrowernumber ) %]
500
[% IF ( borrowernumber ) %]
501
<div class="yui-g">
501
<div class="yui-g">
502
[% IF !noissues || onsite_checkout_forced %]
502
[% IF !noissues || Koha.Preference('OnSiteCheckoutsForce') %]
503
[% IF ( flagged ) %]
503
[% IF ( flagged ) %]
504
<div class="yui-u first">
504
<div class="yui-u first">
505
[% ELSE %]
505
[% ELSE %]
Lines 575-581 No patron matched <span class="ex">[% message %]</span> Link Here
575
[% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
575
[% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %]
576
576
577
    [% IF flagged %]
577
    [% IF flagged %]
578
      [% IF NOT noissues || ( noissues && onsite_checkout_forced ) %]
578
      [% IF NOT noissues || ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
579
        <div id="circmessages" class="circmessage attention">
579
        <div id="circmessages" class="circmessage attention">
580
      [% ELSE %]
580
      [% ELSE %]
581
        <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
581
        <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4>
Lines 584-590 No patron matched <span class="ex">[% message %]</span> Link Here
584
      <h3>
584
      <h3>
585
        [% IF noissues %]
585
        [% IF noissues %]
586
          Cannot check out!
586
          Cannot check out!
587
          [% IF onsite_checkout_forced %]
587
          [% IF Koha.Preference('OnSiteCheckoutsForce') %]
588
            <span style="color:red;">Only on-site checkouts are allowed</span>
588
            <span style="color:red;">Only on-site checkouts are allowed</span>
589
          [% END %]
589
          [% END %]
590
        [% ELSE %]
590
        [% ELSE %]
591
- 

Return to bug 10860