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

(-)a/circ/returns.pl (+1 lines)
Lines 341-346 if ($barcode) { Link Here
341
        $riduedate{0}     = 0;
341
        $riduedate{0}     = 0;
342
        push( @inputloop, \%input );
342
        push( @inputloop, \%input );
343
    }
343
    }
344
    $template->param( privacy => $borrower->{privacy} );
344
}
345
}
345
$template->param( inputloop => \@inputloop );
346
$template->param( inputloop => \@inputloop );
346
347
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (+5 lines)
Lines 584-589 No patron matched <span class="ex">[% message %]</span> Link Here
584
584
585
[% IF ( borrowernumber ) %]
585
[% IF ( borrowernumber ) %]
586
<div class="yui-g">
586
<div class="yui-g">
587
588
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
589
    <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>
590
[% END %]
591
587
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
592
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%]
588
[% IF ( flagged ) %]
593
[% IF ( flagged ) %]
589
<div class="yui-u first">
594
<div class="yui-u first">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-5 / +5 lines)
Lines 107-116 $(document).ready(function () { Link Here
107
	<div id="yui-main">
107
	<div id="yui-main">
108
108
109
<div class="yui-g">
109
<div class="yui-g">
110
[% IF !Koha.Preference('AnonymousPatron') %]
110
111
    [% IF Koha.Preference('OPACPrivacy') %]
111
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %]
112
        <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
112
    <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>
113
    [% END %]
113
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %]
114
    <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div>
114
[% END %]
115
[% END %]
115
116
116
[% IF additional_materials %]
117
[% IF additional_materials %]
117
- 

Return to bug 14655