<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- 報表<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
<div id="main">
<!-- TMPL_IF name="do_it" -->
<!-- TMPL_LOOP name="mainloop" -->
	<h1>Koha : 借閱讀者類別 <!--TMPL_IF name="borrower_category" --> for category = <!-- TMPL_VAR name="borrower_category" --><!-- /TMPL_IF --></h1>
	<div class="data"><table>
		<tr>
			<th>&nbsp;</th>
			<!-- TMPL_LOOP name="categorycodeloop" -->
				<th scope="col"><!-- TMPL_VAR name="categorycode" --></th>
			<!-- /TMPL_LOOP -->
			<th>總計</th>
		</tr>
			<!-- TMPL_LOOP name="loopborrowertype" -->
				<!-- TMPL_IF NAME="hilighted" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
					<td>
					<!-- TMPL_VAR name="itemtype" --></td>
					<!-- TMPL_LOOP name="loopitemtype" -->
						<td class="sum">
							<!-- TMPL_VAR name="issues" -->
						</td>
					<!-- /TMPL_LOOP -->
					<td class="sum">
						<!-- TMPL_VAR name="totalitemtype" -->
					</td>
				</tr>
			<!-- /TMPL_LOOP name="loopitemtype" -->
			<tfoot>
			<tr>
				<td>總計</td>
				<!-- TMPL_LOOP name="loopborrowertotal" -->
					<td class="sum">
						<!-- TMPL_VAR name="issues" -->
					</td>
				<!-- /TMPL_LOOP -->
				<td>&nbsp;</td>
			</tr></tfoot>
	</table></div>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
	<h1>借閱讀者類別</h1>
	<form method="post">
		<p>選擇讀者類別 (留下空白，表示選擇全部) <input type="text" name="value" /></p>
		<p>選擇分館 : <!-- TMPL_VAR name="CGIbranch" --></p>
		<input type="submit" value="送出" class="submit" />
		<input type="hidden" name="report_name" value="<!--TMPL_VAR name="report_name" -->" />
		<input type="hidden" name="do_it" value="1" />
	</form>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
