Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

312 lines
18 KiB

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Circulation &rsaquo; Check In <!-- TMPL_VAR Name="title" --></title>
<script>
function Dopop(link) {
var newin=window.open(link,'popup','width=600,height=400,resizable=yes,toolbar=false,top');
}
</script>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="checkin-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Check In</div>
<div id="doc" class="yui-t7">
<div id="bd">
<div id="yui-main">
<div class="yui-g">
<!-- TMPL_IF NAME="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>
<!-- /TMPL_IF -->
<!-- case of a mistake in transfer loop -->
<!-- TMPL_IF Name="WrongTransfer" --><div class="dialog message"><!-- WrongTransfer --><h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a> to <!-- TMPL_VAR Name="TransferWaitingAt" --></h3>
<!-- TMPL_IF Name="wborcnum"--><h5>Hold for:</h5>
<ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
<!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --></a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
<li><!-- TMPL_VAR Name="wboraddress" --><!-- TMPL_IF NAME="wboraddress2" --><br />
<!-- TMPL_VAR NAME="wboraddress2" --><br /><!-- /TMPL_IF -->
<!-- TMPL_VAR Name="wborcity" --> <!-- TMPL_VAR NAME="wborzip" --></li>
<!-- TMPL_IF NAME="wborphone" --><li><!-- TMPL_VAR Name="wborphone" --></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="wboremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="wboremail" -->"><!-- TMPL_VAR NAME="wboremail" --></a></li><!-- /TMPL_IF -->
</ul>
<form method="post" action="returns.pl">
<input type="hidden" name="WT-itemNumber" value="<!-- TMPL_VAR Name="WrongTransferItem" -->" />
<input type="hidden" name="WT-waitingAt" value="<!-- TMPL_VAR Name="TransferWaitingAt" -->" />
<input type="hidden" name="WT-From" value="<!-- TMPL_VAR Name="wtransfertFrom" -->" />
<input type="submit" class="approve" value="Confirm" />
<br />
<input type="button" value="Print Slip & Confirm" class="approve" onclick='Dopop("hold-transfer-slip.pl?transfer=1&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&amp;op=slip") ; this.form.submit()'; />
</form>
<!-- /TMPL_IF --></div>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="found" -->
<!-- found -->
<!-- case of a reservation found, and display info -->
<!-- TMPL_IF Name="waiting" -->
<!-- waiting -->
<div class="dialog message">
<h3>Hold Found (item is already waiting) </h3>
<h4><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></h4>
<h5>Hold for:</h5>
<ul>
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --></a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
<li><!-- TMPL_VAR Name="boraddress" --><br />
<!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
<!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
<!-- TMPL_IF NAME="borphone" --><li> <!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF --></ul>
</p>
<form method="post" action="returns.pl">
<input type="submit" class="approve" value="Confirm" />
<br />
<input type="button" value="Print Slip & Confirm" class="approve" onclick='Dopop("hold-transfer-slip.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&amp;op=slip") ; this.form.submit()'; />
<!-- TMPL_LOOP Name="inputloop" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
<!-- /TMPL_LOOP -->
<input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
<input type="hidden" name="resbarcode" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
</form>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="diffbranch" -->
<!-- diffbranch -->
<div class="dialog message">
<h2>Hold needing transfer found</h2>
<h3><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></h3>
<h4>Hold for: </h4>
<ul>
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --></a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
<li><!-- TMPL_VAR Name="boraddress" --><br />
<!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
<!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
<!-- TMPL_IF NAME="borphone" --><li><!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF -->
</ul>
<!-- TMPL_IF name="transfertodo" -->
<h4><strong>Transfer to:</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
<!-- /TMPL_IF -->
<form method="post" action="returns.pl">
<input type="submit" class="approve" value="Confirm" />
<br />
<input type="button" value="Print Slip & Confirm" class="submit" onclick='Dopop("hold-transfer-slip.pl?transfer=1&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&amp;op=slip") ; this.form.submit()'; />
<!-- TMPL_LOOP Name="inputloop" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
<!-- /TMPL_LOOP -->
<input type="hidden" name="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
<input type="hidden" name="barcode" value="0" />
</form>
</div>
<!-- /TMPL_IF -->
<!-- case of a return of item, but with no reservation after, if the item must be returned to its homebranch -->
<!-- TMPL_IF Name="transfer" -->
<!-- transfer -->
<div class="dialog message">
<h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a> to <!-- TMPL_VAR Name="homebranch" --></h3></div><!-- /TMPL_IF -->
<!-- TMPL_IF Name="needstransfer" -->
<!-- transfer -->
<div class="dialog message"><h3> This item needs to be transfered to <!-- TMPL_VAR Name="homebranch" --></h3>
<center>Transfer Now?<br />
<form method="post" action="returns.pl" name="mainform" id="mainform">
<input type="submit" name="dotransfer" value="Yes" class="submit" />
<input type="submit" name="notransfer" value="No" class="submit" />
<input type="hidden" name="tobranch" value="<!-- TMPL_VAR NAME="homebranch" -->">
<input type="hidden" name="transferitem" value="<!-- TMPL_VAR NAME="itemnumber" -->">
<!--TMPL_LOOP Name="inputloop" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="bornum" -->" />
<!-- /TMPL_LOOP -->
<input type="hidden" name="barcode" value="0" />
</form> </center> </div>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="diffbranch" -->
<!-- diffbranch -->
<h3>Item Consigned:</h3>
<table>
<caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></caption>
<tr>
<th>Hold for:</th>
<td><!-- TMPL_VAR Name="name" --></td>
</tr>
</table>
<form method="post" action="returns.pl"><input type="submit" value="OK" />
<!-- TMPL_LOOP Name="inputloop" -->
<!-- TMPL_UNLESS Name="first" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
<!-- /TMPL_UNLESS -->
<!-- /TMPL_LOOP -->
<input type="hidden" name="barcode" value="0" />
</form>
</div>
<!-- /TMPL_IF -->
<!-- case of simple return no issue or transfer but with a reservation -->
<!-- TMPL_IF Name="reserved" -->
<!-- reserved -->
<div class="dialog message">
<h3>Hold Found:</h3>
<h4><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="title" --></a></h4>
<h5>Hold for:</h5>
<ul>
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
<!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" -->
</a> (<!-- TMPL_VAR Name="borcnum" -->)</li>
<li><!-- TMPL_VAR Name="boraddress" --><br />
<!-- TMPL_IF NAME="boraddress2" --><!-- TMPL_VAR NAME="boraddress2" --><br /><!-- /TMPL_IF -->
<!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
<!-- TMPL_IF NAME="borphone" --><li><!-- TMPL_VAR Name="borphone" --></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="boremail" --><li><a id="boremail" href="mailto:<!-- TMPL_VAR NAME="boremail" -->"><!-- TMPL_VAR NAME="boremail" --></a></li><!-- /TMPL_IF -->
</ul>
<!-- TMPL_IF name="transfertodo" -->
<h4><strong>Transfer to:</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
<!-- TMPL_ELSE -->
<h4><strong>Hold at</strong> <!-- TMPL_VAR Name="destbranchname" --></h4>
<!-- /TMPL_IF -->
<form method="post" action="returns.pl">
<!-- TMPL_IF name="transfertodo" -->
<input type="submit" class="approve" value="Confirm hold and transfer" />
<br />
<input type="button" value="Print Slip & Confirm" class="submit" onclick='Dopop("hold-transfer-slip.pl?transfer=1&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&amp;op=slip") ; this.form.submit()'; />
<!-- TMPL_ELSE -->
<input type="submit" class="approve" value="Confirm hold" />
<!-- /TMPL_IF -->
<!-- TMPL_LOOP Name="inputloop" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" /><!-- /TMPL_LOOP -->
<input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
<input type="hidden" name="resbarcode" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="diffBranch" value="<!-- TMPL_VAR Name="destbranch" -->" />
</form>
</div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="errmsgloop" -->
<div class="dialog message">
<!-- TMPL_LOOP Name="errmsgloop" -->
<!-- TMPL_IF Name="badbarcode" -->
<p class="problem">No Item with barcode: <!-- TMPL_VAR Name="msg" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="ispermanent" -->
<p class="problem">Please return to <!-- TMPL_VAR Name="msg" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="notissued" -->
<p class="problem">Not checked out.</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="waslost" -->
<p class="problem">Item was lost, now found.</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="withdrawn" -->
<p class="problem">Item Cancelled</p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_IF -->
<div id="exemptfines" class="dialog message" style="display:none;">
<p>Fines for returned items are forgiven.</p>
</div>
<div class="details">
<form method="post" action="/cgi-bin/koha/circ/returns.pl" >
<fieldset><legend>Check In</legend>
<label for="barcode">Enter item barcode: </label>
<!-- TMPL_IF NAME="overduecharges" -->
<input name="barcode" id="barcode" size="14" class="focus" onfocus="if(this.form.exemptcheck.checked == true) {this.className='alert'} else {this.className='focus'};" onblur="this.className='unfocus';" />
<!-- TMPL_ELSE -->
<input name="barcode" id="barcode" size="14" class="focus" />
<!-- /TMPL_IF -->
<input type="submit" class="submit" value="Submit" />
<!-- TMPL_LOOP Name="inputloop" -->
<input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
<input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
<input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="overduecharges" -->
<!-- TMPL_IF NAME="exemptfine" -->
<label for="exemptcheck" class="error" >Forgive Overdue charges on this item</label>
<!-- TMPL_ELSE -->
<label for="exemptcheck">Forgive Overdue charges on this item</label>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="exemptfine" -->
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" onchange=" if (this.checked == true) { this.form.barcode.className='alert'; document.getElementById('exemptfines').style.display='block';} else { this.form.barcode.className='unfocus';document.getElementById('exemptfines').style.display='none'; } this.form.barcode.focus(); return false;" />
<!-- TMPL_ELSE -->
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" onchange=" if (this.checked == true) { this.form.barcode.className='alert'; document.getElementById('exemptfines').style.display='block';} else { this.form.barcode.className='unfocus';document.getElementById('exemptfines').style.display='none'; } this.form.barcode.focus(); return false;" />
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</fieldset>
</form>
</div>
<!-- TMPL_IF Name="returned" -->
<div class="yui-g"> <table>
<tr><th>Item Information</th><th>Patron Information</th></tr>
<tr>
<td><!-- TMPL_VAR Name="title" --></td>
<td>
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="riborrowernumber" -->"><!-- TMPL_VAR Name="riborsurname" -->, <!-- TMPL_VAR Name="ribortitle" --> <!-- TMPL_VAR Name="riborfirstname" --></a> (<!-- TMPL_VAR Name="riborcnum" -->)
<!-- TMPL_IF Name="flagset" -->
(<!-- TMPL_LOOP Name="flagloop" -->
<!-- TMPL_VAR Name="flag" -->,
<!-- /TMPL_LOOP -->)<!-- /TMPL_IF -->
</td>
</tr>
</table>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="riloop" -->
<h2>Checked-In items</h2>
<table>
<tr><th>Due Date</th> <th>Title</th> <th>Author</th> <th>Barcode</th> <th>Type</th> <th>Patron</th></tr>
<!-- TMPL_LOOP Name="riloop" -->
<tr>
<td><!-- TMPL_IF Name="duedate" --><!-- TMPL_VAR NAME="duedate" --><!-- TMPL_ELSE -->Not checked out<!-- /TMPL_IF --></td>
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR Name="itembiblionumber" -->">
<!-- TMPL_VAR Name="itemtitle" --></a></td>
<td><!-- TMPL_VAR Name="itemauthor" --></td>
<td><!-- TMPL_VAR Name="barcode" --></td>
<td><!-- TMPL_VAR Name="itemtype" --> <!-- TMPL_VAR Name="ccode" --></td>
<td><!-- TMPL_IF Name="duedate" -->
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->">
<!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" -->
</a>
<!-- TMPL_ELSE -->Not checked out<!-- /TMPL_IF --></td>
</tr>
<!-- /TMPL_LOOP -->
</table></div>
<!-- /TMPL_IF -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->