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

(-)a/C4/Circulation.pm (-1 / +4 lines)
Lines 36-42 use C4::Message; Link Here
36
use C4::Debug;
36
use C4::Debug;
37
use C4::Branch; # GetBranches
37
use C4::Branch; # GetBranches
38
use C4::Log; # logaction
38
use C4::Log; # logaction
39
39
use C4::Koha qw(GetAuthorisedValueByCode);
40
use Data::Dumper;
40
use Data::Dumper;
41
use Koha::DateUtils;
41
use Koha::DateUtils;
42
use Koha::Calendar;
42
use Koha::Calendar;
Lines 848-853 sub CanBookBeIssued { Link Here
848
    {
848
    {
849
        $issuingimpossible{RESTRICTED} = 1;
849
        $issuingimpossible{RESTRICTED} = 1;
850
    }
850
    }
851
    if ( $item->{'itemlost'} ) {
852
        $needsconfirmation{ITEM_LOST} = GetAuthorisedValueByCode( 'LOST', $item->{'itemlost'} );
853
    }
851
    if ( C4::Context->preference("IndependantBranches") ) {
854
    if ( C4::Context->preference("IndependantBranches") ) {
852
        my $userenv = C4::Context->userenv;
855
        my $userenv = C4::Context->userenv;
853
        if ( ($userenv) && ( $userenv->{flags} % 2 != 1 ) ) {
856
        if ( ($userenv) && ( $userenv->{flags} % 2 != 1 ) ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +5 lines)
Lines 275-283 function refocus(calendar) { Link Here
275
[% IF ( NOT_FOR_LOAN_FORCING ) %]
275
[% IF ( NOT_FOR_LOAN_FORCING ) %]
276
    <li>Item is normally not for loan.  Check out anyway?</li>
276
    <li>Item is normally not for loan.  Check out anyway?</li>
277
[% END %]
277
[% END %]
278
278
[% IF ( USERBLOCKEDOVERDUE ) %]
279
[% IF ( USERBLOCKEDOVERDUE ) %]
279
    <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).  Check out anyway?</li>
280
    <li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).  Check out anyway?</li>
280
[% END %]
281
[% END %]
282
283
[% IF ( ITEM_LOST ) %]
284
    <li>This item has been lost with a status of "[% ITEM_LOST %]". Check out anyway?</li>
285
[% END %]
281
</ul>
286
</ul>
282
287
283
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
288
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
284
- 

Return to bug 7758