<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- 目錄: 新增預約 <!-- TMPL_VAR Name="title" --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
<div id="main">
<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>新增預約
<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR Name="bib" -->"><!-- TMPL_VAR Name="title" --></a>
<!-- TMPL_VAR Name="author" --></h3>
<div class="form">
	<table>
		<tr><th>排序</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><label for="notes">附註</label></th><td><input type="text" size="20" name="notes" id="notes"></tr><!-- /Hide from NPL -->
		<tr><th><label for="date">日期</label></th><td><!-- TMPL_VAR name="date" --></td></tr>
		<tr><th><label for="pickup">選擇</label></th><td><!-- TMPL_VAR name="CGIbranch" --></td></tr>
		<tr><th><label for="request">需求</label></th><td><input type="checkbox" name="request" id="request" value="any">下次取得，(或是選擇下面清單)</tr>
		<tr><th><label for="member">借書證號碼</label> <a href="/cgi-bin/koha/members/members-home.pl?quicksearch=1" onclick="PopWin(this, 'newwin', 300, 400); return false;">(快速查詢)</a></th><td><input type="text" size="10" name="member" id="member" /></td></tr>
	</table>
</div>

	<div class="table"><table>
<tr>
	<!-- Hide from NPL --><th>Reserve</th><!-- /Hide from NPL -->
	<th>館藏型式</th>
	<th>索書號</th>
	<!-- Hide from NPL --><th>Volume</th><!-- /Hide from NPL -->
	<!-- Hide from NPL --><th>Pubdate</th><!-- /Hide from NPL -->
	<th>複本</th>
</tr>

<!-- TMPL_LOOP Name="bibitemloop" -->
	<tr>
		<!-- Hide from NPL --><td>
			<!-- TMPL_IF Name="itemlost" -->
				無法被選擇
			<!-- 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></div>

<input type="submit" name="submit"  value="新請求"  class="submit" onclick="this.value='請稍後...'; this.disabled=true;" />
</form>
<!-- TMPL_IF NAME="reserveloop" -->
<form name="T<!-- TMPL_VAR Name="time" -->" action="modrequest.pl" method="post">
<h3>修改存在的請求</h3>
<div class="table"><table>
	<tr>
		<th>排序</th>
		<th>讀者</th>
		<th>附註</th>
		<th>日期</th>
		<th>選擇館藏地</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">已經寄送</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">刪除</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>等待中</strong> 在 <!-- TMPL_VAR Name="wbrcode" -->
				<!-- TMPL_ELSE -->
				轉送從 <!-- TMPL_VAR NAME="holdingbranch" --> 到 <!-- 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" -->
						下一個可取得
					<!-- TMPL_ELSE -->
						<!-- TMPL_IF Name="constrainttypeo" -->
							只有這種型式 : <!-- TMPL_VAR Name="volumeddesc" --> <!-- TMPL_VAR Name="itemtype" -->
						<!-- /TMPL_IF -->
					<!-- /TMPL_IF -->
				<!-- /TMPL_IF -->

			</td><!-- /Hide from NPL -->
		</tr>
	<!-- /TMPL_LOOP -->
</table>
<p>選擇刪除請求 "刪除（del）" 來自排序清單。</p>
<p><input type="submit" name="submit"  value="更新清單" class="submit" /></p>
</div></form><!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->
