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 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 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