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

(-)a/circ/returns.pl (+1 lines)
Lines 351-356 if ($barcode) { Link Here
351
        $riduedate{0}     = 0;
351
        $riduedate{0}     = 0;
352
        push( @inputloop, \%input );
352
        push( @inputloop, \%input );
353
    }
353
    }
354
    $template->param( privacy => $borrower->{privacy} );
354
}
355
}
355
$template->param( inputloop => \@inputloop );
356
$template->param( inputloop => \@inputloop );
356
357
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (+5 lines)
Lines 588-593 No patron matched <span class="ex">[% message %]</span> Link Here
588
588
589
[% IF ( borrowernumber ) %]
589
[% IF ( borrowernumber ) %]
590
<div class="yui-g">
590
<div class="yui-g">
591
592
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
593
    <div class="dialog alert"><strong>Error:</strong> This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.</div>
594
[% END %]
595
591
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
596
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
592
[% IF ( flagged ) %]
597
[% IF ( flagged ) %]
593
<div class="yui-u first">
598
<div class="yui-u first">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-5 / +5 lines)
Lines 117-126 $(document).ready(function () { Link Here
117
	<div id="yui-main">
117
	<div id="yui-main">
118
118
119
<div class="yui-g">
119
<div class="yui-g">
120
[% IF !Koha.Preference('AnonymousPatron') %]
120
121
    [% IF Koha.Preference('OPACPrivacy') %]
121
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
122
        <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
122
    <div class="dialog alert"><strong>Error:</strong> This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.</div>
123
    [% END %]
123
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %]
124
    <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
124
[% END %]
125
[% END %]
125
126
126
[% IF additional_materials %]
127
[% IF additional_materials %]
127
- 

Return to bug 14655