</script>
</head>
<body id="circ_returns" class="circ">
-<div id="header" class="gradient">
+
[% INCLUDE 'header.inc' %]
[% INCLUDE 'checkin-search.inc' %]
-</div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Check in</div>
[% 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 -->
<!-- waiting -->
[% IF ( soundon ) %]
-<audio src="/intranet-tmpl/prog/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+<audio src="[% interface %]/[% theme %]/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<div id="hold-found1" class="dialog message">
[% IF ( diffbranch ) %]
<!-- diffbranch -->
[% IF ( soundon ) %]
- <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<div id="transfer-needed" class="dialog message">
<h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3>
<h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% homebranch %]&op=slip'); return true;">Print slip</a> )</h3>
</div>
[% IF ( soundon ) %]
- <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
[% END %]
[% IF ( needstransfer ) %]
<!-- needstransfer -->
[% IF ( soundon ) %]
- <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3>
Transfer now?<br />
[% IF ( diffbranch ) %]
<!-- diffbranch -->
[% IF ( soundon ) %]
- <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<h3>Item consigned:</h3>
<table>
<!-- reserved -->
[% IF ( soundon ) %]
- <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="[% interface %]/[% theme %]/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<div id="hold-found2" class="dialog message">
</form>
</div>
[% END %]
-[% ELSE %]
+[% END %]
[% IF ( errmsgloop ) %]
<div class="dialog alert">
+ <h3>Check in message</h3>
[% FOREACH errmsgloo IN errmsgloop %]
[% IF ( errmsgloo.badbarcode ) %]
<p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
[% END %]
[% IF ( errmsgloo.waslost ) %]
<p class="problem">Item was lost, now found.</p>
+ [% IF ( LostItemFeeRefunded ) %]
+ <p class="problem">A refund has been applied to the borrowing patron's account.</p>
+ [% ELSE %]
+ <p class="problem">Any lost item fees for this item will remain on the patron's account</p>
+ [% END %]
[% END %]
[% IF ( errmsgloo.withdrawn ) %]
- <p class="problem">Item is withdrawn.</p>
+ [% IF BlockReturnOfWithdrawnItems %]
+ <h5>Cannot check in</h5>
+ <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>
[% END %]
[% END %]
[% IF ( soundon ) %]
-<audio src="/intranet-tmpl/prog/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+<audio src="[% interface %]/[% theme %]/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
[% ELSE %]
[% IF ( soundon ) %]
-<audio src="/intranet-tmpl/prog/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+<audio src="[% interface %]/[% theme %]/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
[% END %]
</div>
-[% END %]
<div id="exemptfines" class="dialog message" style="display:none;">
<p>Fines for returned items are forgiven.</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>
- <tr><th>Due date</th><th>Title</th> <th>Author</th> <th>Barcode</th><th>Shelving location</th><th>Call number</th><th>Type</th> <th>Patron</th><th>Note</th></tr>
+ <tr><th>Due date</th><th>Title</th> <th>Author</th> <th>Barcode</th><th>Home library</th><th>Holding library</th><th>Shelving location</th><th>Call number</th><th>Type</th> <th>Patron</th><th>Note</th></tr>
[% FOREACH riloo IN riloop %]
<tr>
[% riloo.itemtitle |html %]</a></td>
<td>[% riloo.itemauthor %]</td>
<td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
+ <td>[% riloo.homebranch %]</td>
+ <td>[% riloo.holdingbranch %]</td>
<td>[% riloo.location %]</td>
<td>[% riloo.itemcallnumber %]</td>
<td>[% riloo.itemtype %] [% riloo.ccode %]</td>