[% IF ( wrongbranch ) %]
-<div class="dialog alert"><h3>Cannot Check In</h3><p>This item must be checked in at its home library. <strong>NOT CHECKED IN</strong></p>
+<div class="dialog alert"><h3>Cannot check in</h3><p>This item must be checked in at its home library. <strong>NOT CHECKED IN</strong></p>
</div>
[% END %]
<!-- case of a mistake in transfer loop -->
<p class="problem">Item was lost, now found.</p>
[% END %]
[% IF ( errmsgloo.withdrawn ) %]
- <p class="problem">Item is withdrawn.</p>
+ [% IF BlockReturnOfWithdrawnItems %]
+ <h3>Cannot Check In</h3>
+ <p class="problem">Item is withdrawn. <strong>NOT CHECKED IN</strong></p>
+ [% ELSE %]
+ <p class="problem">Item is withdrawn.</p>
+ [% END %]
[% END %]
[% IF ( errmsgloo.debarred ) %]
<p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber %]">[% errmsgloo.debarname %]([% errmsgloo.debarcardnumber %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %] </p>
</form>
</div>
-[% IF ( returned ) %]
-<div class="yui-g"> <table>
- <tr><th>Item information</th><th>Patron information</th></tr>
- <tr>
- <td>[% title |html %]</td>
- <td>
-
- <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riborrowernumber %]">[% riborsurname %], [% ribortitle %] [% riborfirstname %]</a> ([% riborcnum %])
- [% IF ( flagset ) %]
- ([% FOREACH flagloo IN flagloop %]
- [% flagloo.flag %]
- [% IF ( flagloo.charges ) %] of [% flagloo.chargeamount %] [% END %]
- ,
- [% END %])[% END %]
- </td>
- </tr>
- </table>
-[% END %]
[% IF ( riloop ) %]
<h2>Checked-in items</h2>
<table>