Lines 166-202
Link Here
|
166 |
<strong>Please note:</strong> Your account is frozen because it has been discharged. <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a> |
166 |
<strong>Please note:</strong> Your account is frozen because it has been discharged. <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a> |
167 |
</li> |
167 |
</li> |
168 |
[% ELSE %] |
168 |
[% ELSE %] |
169 |
<li id="userdebarred"><strong>Please note:</strong> Your account has been frozen. |
169 |
<li id="userdebarred"> |
170 |
[% IF ( borrower.debarredcomment ) %] |
170 |
<strong>Please note:</strong> Your account has been frozen. |
171 |
Comment:<br /> |
171 |
[% IF ( borrower.debarredcomment ) %] |
172 |
<span id="userdebarred_comment"> |
172 |
Comment:<br /> |
173 |
<strong> |
173 |
<ul id="userdebarred_comment"> |
174 |
[% IF borrower.debarredcomment.search('OVERDUES_PROCESS') %] |
174 |
[% FOREACH restriction IN logged_in_user.restrictions %] |
175 |
Restriction added by overdues process [% borrower.debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %] |
175 |
<li class="patron_restriction"> |
176 |
[% ELSE %] |
176 |
<strong>[%- restriction.type.display_text | html -%]</strong> |
177 |
[% FOR restriction IN logged_in_user.restrictions %] |
177 |
[% IF restriction.comment.search('OVERDUES_PROCESS') %] |
178 |
<div class="patron_restriction"> |
178 |
Restriction added by overdues process [% restriction.comment.remove('OVERDUES_PROCESS ') | html_line_break %] |
179 |
[%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: <span class="restriction_comment">[% restriction.comment | html_line_break %]</span>, frozen until: |
179 |
[% ELSE %] |
180 |
<span class="restriction_expiration"> |
180 |
[%- IF restriction.comment -%]: |
181 |
[%- IF restriction.expiration -%] |
181 |
<span class="restriction_comment">[% restriction.comment | html_line_break %]</span>. |
182 |
[%- restriction.expiration | $KohaDates -%] |
|
|
183 |
[%- ELSE -%] |
184 |
<strong>Indefinite</strong> |
185 |
[%- END -%] |
182 |
[%- END -%] |
186 |
</span> |
|
|
187 |
[% END %] |
183 |
[% END %] |
188 |
</div> |
184 |
[%- IF restriction.expiration -%] |
189 |
[% END %] |
185 |
Account frozen until <span class="restriction_expiration">[%- restriction.expiration | $KohaDates -%]</span> |
|
|
186 |
[%- ELSE -%] |
187 |
<strong>Account frozen indefinitely</strong> |
188 |
[%- END -%] |
189 |
</li> |
190 |
[% END %] |
190 |
[% END %] |
191 |
</strong> |
191 |
</ul> |
192 |
</span> |
192 |
[% END %] |
193 |
[% END %] |
|
|
194 |
[% IF ( borrower.userdebarreddate && debarred_date != '9999-12-31' ) %] |
195 |
End date: |
196 |
<span id="userdebarred_date">[% borrower.userdebarreddate | $KohaDates %]</span> |
197 |
[% END %] |
198 |
|
193 |
|
199 |
<em>Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a></li> |
194 |
<p><em>Usually the reason for freezing an account is old overdues or damage fees. If your account shows to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a></p> |
|
|
195 |
</li> |
200 |
[% END %] |
196 |
[% END %] |
201 |
[% END %] |
197 |
[% END %] |
202 |
[% IF ( borrower.gonenoaddress ) %] |
198 |
[% IF ( borrower.gonenoaddress ) %] |
203 |
- |
|
|