444fade020
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
185 lines
10 KiB
Cheetah
185 lines
10 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Circulation › Transfers</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="circ-search.inc" -->
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Transfers</div>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
<div id="bd">
|
|
|
|
<!-- TMPL_IF Name="found" -->
|
|
<div class="yui-g"> <h3>Reserve Found</h3>
|
|
<table>
|
|
<caption>
|
|
<!-- TMPL_IF Name="reserved" -->
|
|
Reserve found for <!-- TMPL_VAR Name="name" --> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->"><!-- TMPL_VAR Name="borrowernumber" --></a>).
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="waiting" -->
|
|
Item is marked waiting at <!-- TMPL_VAR Name="branchname" --> for <!-- TMPL_VAR Name="name" --> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->"><!-- TMPL_VAR Name="borrowernumber" --></a>).
|
|
<!-- /TMPL_IF -->
|
|
</caption>
|
|
<tr>
|
|
<th>
|
|
<!-- TMPL_IF Name="reserved" -->Set reserve to waiting and transfer book to <!-- TMPL_VAR Name="branchname" -->: <!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="waiting" -->Cancel reservation and then attempt transfer: <!-- /TMPL_IF -->
|
|
</th>
|
|
<td>
|
|
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
|
|
<!-- TMPL_LOOP Name="trsfitemloop" -->
|
|
<input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
|
|
<input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
|
|
<input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
|
|
<!-- /TMPL_LOOP -->
|
|
<input type="hidden" name="itemnumber" value="<!-- TMPL_VAR Name="itemnumber" -->" />
|
|
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
|
|
<!-- TMPL_IF Name="waiting" -->
|
|
<input type="hidden" name="barcode" value="<!-- TMPL_VAR Name="barcode" -->" />
|
|
<input type="hidden" name="request" value="KillWaiting" />
|
|
<input type="submit" value="Cancel" />
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="reserved" -->
|
|
<input type="hidden" name="request" value="SetWaiting" />
|
|
<input type="submit" value="Waiting" />
|
|
<!-- /TMPL_IF -->
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<!-- TMPL_IF Name="reserved" -->
|
|
<tr>
|
|
<th>Cancel reservation and then attempt transfer:</th>
|
|
<td>
|
|
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
|
|
<!-- TMPL_LOOP Name="trsfitemloop" -->
|
|
<input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
|
|
<input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
|
|
<input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
|
|
<!-- /TMPL_LOOP -->
|
|
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR Name="biblionumber" -->" />
|
|
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
|
|
<input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR Name="tobranchcd" -->" />
|
|
<input type="hidden" name="barcode" value="<!-- TMPL_VAR Name="barcode" -->" />
|
|
<input type="hidden" name="request" value="KillReserved" />
|
|
<input type="submit" value="Cancel" />
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<tr>
|
|
<th>Ignore and return to transfers: </th>
|
|
<td>
|
|
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl" />
|
|
<input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR Name="tobranchcd" -->" />
|
|
<input type="hidden" name="barcode" />
|
|
<!-- TMPL_LOOP Name="trsfitemloop" -->
|
|
<input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
|
|
<input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
|
|
<input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
|
|
<!-- /TMPL_LOOP -->
|
|
<input type="submit" value="Ignore" />
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table></div>
|
|
|
|
<!-- TMPL_ELSE -->
|
|
<div class="yui-ge">
|
|
<div class="yui-u first">
|
|
<form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
|
|
<fieldset class="brief">
|
|
<legend>Transfer</legend>
|
|
<ol>
|
|
<li>
|
|
<label for="tobranchcd">Destination library: </label>
|
|
<select name="tobranchcd" id="tobranchcd">
|
|
<!-- TMPL_LOOP Name="branchoptionloop" -->
|
|
<!-- TMPL_IF NAME="selected" -->
|
|
<option value="<!-- TMPL_VAR Name="value" -->" selected="selected">
|
|
<!-- TMPL_ELSE -->
|
|
<option value="<!-- TMPL_VAR Name="value" -->">
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_VAR Name="branchname" -->
|
|
</option>
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<label for="barcode">Enter barcode: </label>
|
|
<input name="barcode" id="barcode" size="15" class="focus" /> <input type="submit" value="Submit" />
|
|
</li>
|
|
</ol>
|
|
</fieldset>
|
|
<input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR Name="tobrancd" -->" />
|
|
<!-- TMPL_LOOP Name="trsfitemloop" -->
|
|
<input type="hidden" name="bc-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
|
|
<input type="hidden" name="fb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="frombrcd" -->" />
|
|
<input type="hidden" name="tb-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="tobrcd" -->" />
|
|
<!-- /TMPL_LOOP -->
|
|
</form></div>
|
|
|
|
<div class="yui-u"><h4>Messages</h4>
|
|
<ul>
|
|
<!-- TMPL_IF Name="reqmessage" -->
|
|
<!-- TMPL_IF Name="cancelled" -->
|
|
<li>Reserve Cancelled</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="setwaiting" -->
|
|
<li>Item should now be waiting at library: <!-- TMPL_VAR Name="reqbrchname" --></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_LOOP Name="errmsgloop" -->
|
|
<!-- TMPL_IF Name="errbadcode" -->
|
|
<li>No Item with barcode: <!-- TMPL_VAR Name="msg" --></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="errispermanent" -->
|
|
<li>Please return item to home library: <!-- TMPL_VAR Name="msg" --></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="errnotallowed" -->
|
|
<li>You cannot transfer items of <!--TMPL_VAR Name="codeType" --> <b><!-- TMPL_VAR Name="code" --></b> to <b><!-- TMPL_VAR Name="tbr" --></b></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="errdesteqholding" -->
|
|
<li>Item is already at destination library.</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="errwasreturned" -->
|
|
<li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->">
|
|
<!-- TMPL_VAR Name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
|
|
(<!--TMPL_VAR NAME="cardnumber" -->)</a> and has been returned.</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
</ul>
|
|
</div><!-- /yui-u -->
|
|
</div><!-- /yui-ge -->
|
|
|
|
<!-- TMPL_IF Name="trsfitemloop" -->
|
|
<div class="yui-g">
|
|
<table>
|
|
<caption>Transferred Items</caption>
|
|
<tr>
|
|
<th>Bar Code</th>
|
|
<th>Title</th>
|
|
<th>To</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP Name="trsfitemloop" -->
|
|
<tr>
|
|
<td>
|
|
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR Name="biblionumber" -->"><!-- TMPL_VAR Name="barcode" --></a>
|
|
</td>
|
|
<td>
|
|
<p><!-- TMPL_VAR Name="title" escape="html" --> (<!-- TMPL_VAR Name="author" -->)</p>
|
|
<p><!-- TMPL_VAR Name="ccode" --></p>
|
|
</td>
|
|
<td><!-- TMPL_VAR Name="tobrname" --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|