Koha/koha-tmpl/intranet-tmpl/prog/en/request.tmpl
2005-08-06 20:19:56 +00:00

152 lines
6 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Catalogue: Add Reserve for <!-- TMPL_VAR Name="title" --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<form action="placerequest.pl" method="post" id="mainform">
<input type="hidden" name="biblio" value="<!-- TMPL_VAR Name="bib" -->" />
<input type="hidden" name="type" value="str8" />
<input type="hidden" name="title" value="<!-- TMPL_VAR Name="title" -->" />
<h3>Add Reserve for
<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR Name="bib" -->"><!-- TMPL_VAR Name="title" --></a>
<!-- TMPL_VAR Name="author" --></h3>
<table>
<tr><th scope="row">Rank</th><td>
<select name="rank-request">
<!-- TMPL_LOOP Name="optionloop" -->
<option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->>
<!-- TMPL_VAR Name="num" -->
</option>
<!-- /TMPL_LOOP -->
</select>
</td></tr>
<!-- Hide from NPL --><tr><th scope="row"><label for="notes">Notes</label></th><td><input type="text" size="20" name="notes" id="notes"></tr><!-- /Hide from NPL -->
<tr><th scope="row"><label for="date">Date</label></th><td><!-- TMPL_VAR name="date" --></td></tr>
<tr><th scope="row"><label for="pickup">Pickup</label></th><td><!-- TMPL_VAR name="CGIbranch" --></td></tr>
<tr><th scope="row">Request</th><td><input type="checkbox" name="request" id="request" value="any"><label for="request">Next Available</label>, (or choose from list below)</tr>
<tr><th scope="row"><label for="member">Card Number</label> <a href="/cgi-bin/koha/members/members-home.pl?quicksearch=1" onclick="PopWin(this, 'newwin', 300, 400); return false;">(Quick Search)</a></th><td><input type="text" size="10" name="member" id="member" /></td></tr>
</table>
<table>
<tr>
<!-- Hide from NPL --><th>Reserve</th><!-- /Hide from NPL -->
<th>Item Type</th>
<th>Call Number</th>
<!-- Hide from NPL --><th>Volume</th><!-- /Hide from NPL -->
<!-- Hide from NPL --><th>Pubdate</th><!-- /Hide from NPL -->
<th>Copies</th>
</tr>
<!-- TMPL_LOOP Name="bibitemloop" -->
<tr>
<!-- Hide from NPL --><td>
<!-- TMPL_IF Name="itemlost" -->
Cannot be selected
<!-- TMPL_ELSE -->
<input type="checkbox" name="reqbib" value=<!-- TMPL_VAR Name="biblioitemnumber" -->>
<input type="hidden" name="biblioitem" value=<!-- TMPL_VAR Name="biblioitemnumber" -->>
<!-- /TMPL_IF -->
</td><!-- /Hide from NPL -->
<td>
<!-- TMPL_VAR Name="description" -->
</td>
<td>
<!-- TMPL_IF NAME="class" --><!-- TMPL_VAR Name="class" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF -->
</td>
<!-- Hide from NPL --><td>
<!-- TMPL_IF NAME="volumedesc" --><!-- TMPL_VAR Name="volumeddesc" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF -->
</td><!-- /Hide from NPL -->
<!-- Hide from NPL --><td>
<!-- TMPL_IF NAME="publicationyear" --><!-- TMPL_VAR Name="publicationyear" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF -->
</td><!-- /Hide from NPL -->
<td><ul>
<!-- TMPL_LOOP Name="barcodeloop" -->
<li><!-- TMPL_VAR Name="barcode" --> <!-- TMPL_VAR Name="message" --></li>
<!-- /TMPL_LOOP -->
</ul>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<input type="submit" name="submit" value="Place New Request" onclick="this.value='Please wait...'; this.disabled=true;" />
</form>
<!-- TMPL_IF NAME="reserveloop" -->
<form name="T<!-- TMPL_VAR Name="time" -->" action="modrequest.pl" method="post">
<h3>Modify Existing Requests</h3>
<div class="table"><table>
<tr>
<th>Rank</th>
<th>Patron</th>
<th>Notes</th>
<th>Date</th>
<th>Pickup Location</th>
<!-- Hide from NPL --><th>Request</th><!-- /Hide from NPL -->
</tr>
<!-- TMPL_LOOP Name="reserveloop" -->
<tr>
<td>
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
<input type="hidden" name="biblio" value="<!-- TMPL_VAR Name="biblionumber" -->" />
<select name="rank-request">
<!-- TMPL_IF Name="wait" -->
<option value="W" selected="selected">Consigned</option>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP Name="optionloop" -->
<option value="<!-- TMPL_VAR Name="num" -->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->>
<!-- TMPL_VAR Name="num" -->
</option>
<!-- /TMPL_LOOP -->
<option value="del">Del</option>
</select></td>
<td>
<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR Name="borrowernumber" -->"><!-- TMPL_VAR Name="firstname" --> <!-- TMPL_VAR Name="surname" --></a>
</td>
<td><!-- TMPL_IF NAME="notes" --><!-- TMPL_VAR Name="notes" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR Name="date" --></td>
<td><!-- TMPL_IF Name="wait" -->
<input type="hidden" name="pickup" value="<!-- TMPL_VAR Name="wbrcode" -->" />
<!-- TMPL_IF NAME="atdestination" -->
<strong>Waiting</strong> at <!-- TMPL_VAR Name="wbrcode" -->
<!-- TMPL_ELSE -->
In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR Name="wbrcode" -->
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<select name="pickup">
<!-- TMPL_LOOP Name="branchloop" -->
<option value="<!-- TMPL_VAR Name="branch" -->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->>
<!-- TMPL_VAR Name="branchname" -->
</option>
<!-- /TMPL_LOOP -->
</select>
<!-- /TMPL_IF -->
</td>
<!-- Hide from NPL --><td>
<!-- TMPL_IF Name="wait" -->
<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR Name=''biblionumber" --> &amp;type=intra">
<!-- TMPL_VAR Name="barcode" -->
</a>
<!-- TMPL_ELSE -->
<!-- TMPL_IF Name="constrainttypea" -->
Next Available
<!-- TMPL_ELSE -->
<!-- TMPL_IF Name="constrainttypeo" -->
This type only : <!-- TMPL_VAR Name="volumeddesc" --> <!-- TMPL_VAR Name="itemtype" -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</td><!-- /Hide from NPL -->
</tr>
<!-- /TMPL_LOOP -->
</table>
<p>Delete a request by selecting "del" from the rank list.</p>
<p><input type="submit" name="submit" value="Update List" /></p>
</form><!-- /TMPL_IF -->
<!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->