[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/reports inventory.tmpl,NONE,1.1 issues_by_borrower_category.tmpl,NONE,1.1 itemtypes.tmpl,NONE,1.1 reports-home.tmpl,1.1,1.2

Owen Leonard oleonard at users.sourceforge.net
Thu Apr 1 23:36:00 CEST 2004


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/reports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16387/koha-tmpl/intranet-tmpl/npl/en/reports

Modified Files:
	reports-home.tmpl 
Added Files:
	inventory.tmpl issues_by_borrower_category.tmpl itemtypes.tmpl 
Log Message:
Adding new report templates

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Reports: Inventory<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->

<div id="main">
<h1>Inventory Report</h1>
<form method="post">
	<div class="table"><div class="details"><table>
	<caption>Select items you want to check</caption>
		<tr>
			<th>Item Location (items.bulk) between:</th>
			<td><input type="text" name="minlocation" value="<!-- TMPL_VAR name="minlocation" -->" /></td>
		</tr>
		<tr>
		<th>...and:</th><td><input type="text" name="maxlocation" value="<!-- TMPL_VAR name="maxlocation" -->" /></td>
		</tr>
		<tr>
			<th>Not seen since:</th>
			<td>
				<input type="text" name="datelastseen" value="<!-- TMPL_VAR name="datelastseen" -->" />
			</td>
		</tr>
		<tr>
			<th>Show:</th>
			<td><input type="text" name="pagesize" value="<!-- TMPL_VAR name="pagesize" -->" /></td>
		</tr>
		<tr><th>Beginning at offset: </th><td><input type="text" name="offset" value="<!-- TMPL_VAR name="offset" -->" /></td></tr>
	</table><input type="submit" value="Submit" class="submit" /></div></div>
</form>

<form method="post">
<input type="hidden" name="markseen" value="1" />
<input type="hidden" name="minlocation" value="<!-- TMPL_VAR name="minlocation" -->" />
<input type="hidden" name="maxlocation" value="<!-- TMPL_VAR name="maxlocation" -->" />
<input type="hidden" name="datelastseen" value="<!-- TMPL_VAR name="datelastseen" -->" />
<input type="hidden" name="pagesize" value="<!-- TMPL_VAR name="pagesize" -->" />
<input type="hidden" name="offset" value="<!-- TMPL_VAR name="offset" -->" />
<!-- TMPL_IF name="loop" -->
<table width="100%">
	<tr>
		<th>Seen</th>
		<th>Barcode</th>
		<th>Bulk</th>
		<th>Title</th>
		<th>Author</th>
	</tr>
<!-- TMPL_LOOP name="loop" -->
	<tr>
		<td>
			<input type="checkbox" name="SEEN-<!-- TMPL_VAR name="itemnumber" -->" value="1" />
		</td>
		<td>
			<!-- TMPL_VAR name="barcode" -->
		</td>
		<td>
			<!-- TMPL_VAR name="bulk" -->
		</td>
		<td>
			<!-- TMPL_VAR name="title" -->
		</td>
		<td>
			<!-- TMPL_VAR name="author" -->
		</td>
	</tr>
<!-- /TMPL_LOOP -->
</table>
<input type="submit" value="Mark seen" class="submit" />
</form>
<!-- /TMPL_IF -->

<table>
<tr>
	<td>
		<!-- TMPL_IF name="offset" -->
		<form method="post">
			<input type="hidden" name="minlocation" value="<!-- TMPL_VAR name="minlocation" -->" />
			<input type="hidden" name="maxlocation" value="<!-- TMPL_VAR name="maxlocation" -->" />
			<input type="hidden" name="datelastseen" value="<!-- TMPL_VAR name="datelastseen" -->" />
			<input type="hidden" name="pagesize" value="<!-- TMPL_VAR name="pagesize" -->" />
			<input type="hidden" name="offset" value="<!-- TMPL_VAR name="prevoffset" -->" />
			<input type="submit" value="&lt;&lt;&lt;" class="submit" />
		</form>
		<!-- /TMPL_IF -->
	</td>
	<td>
		<!-- TMPL_IF name="nextoffset" -->
		<form method="post">
			<input type="hidden" name="minlocation" value="<!-- TMPL_VAR name="minlocation" -->" />
			<input type="hidden" name="maxlocation" value="<!-- TMPL_VAR name="maxlocation" -->" />
			<input type="hidden" name="datelastseen" value="<!-- TMPL_VAR name="datelastseen" -->" />
			<input type="hidden" name="pagesize" value="<!-- TMPL_VAR name="pagesize" -->" />
			<input type="hidden" name="offset" value="<!-- TMPL_VAR name="nextoffset" -->" />
			<input type="submit" value="&gt;&gt;&gt;" class="submit" />
		</form>
		<!-- /TMPL_IF -->
	</td>
</tr>
</table></div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Reports<!-- 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 : Issues by borrower category <!--TMPL_IF name="borrower_category" --> for category = <!-- TMPL_VAR name="borrower_category" --><!-- /TMPL_IF --></h1>
	<table>
		<tr>
			<th>&nbsp;</th>
			<!-- TMPL_LOOP name="categorycodeloop" -->
				<th><!-- TMPL_VAR name="categorycode" --></th>
			<!-- /TMPL_LOOP -->
			<th>TOTAL</th>
		</tr>
			<!-- TMPL_LOOP name="loopborrowertype" -->
				<tr>
					<td>
					<!-- TMPL_VAR name="itemtype" --></td>
					<!-- TMPL_LOOP name="loopitemtype" -->
						<td>
							<!-- TMPL_VAR name="issues" -->
						</td>
					<!-- /TMPL_LOOP -->
					<td>
						<!-- TMPL_VAR name="totalitemtype" -->
					</td>
				</tr>
			<!-- /TMPL_LOOP name="loopitemtype" -->
			<tr>
				<th>TOTAL</th>
				<!-- TMPL_LOOP name="loopborrowertotal" -->
					<th>
						<!-- TMPL_VAR name="issues" -->
					</th>
				<!-- /TMPL_LOOP -->
				<th>&nbsp;</th>
			</tr>
	</table>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
	<h1>Issues by patron category</h1>
	<form method="post">
		<p>Select a patron category (leave blank to select all) <input type="text" name="value" /></p>
		<p>Select a branch : <!-- TMPL_VAR name="CGIbranch" --></p>
		<input type="submit" value="Submit" 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" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="reports-top.inc" -->
<div id="mainbloc">
<!-- TMPL_IF name="do_it" -->
<!-- TMPL_LOOP name="mainloop" -->
	<h1>Koha : Reports on itemtypes <!--TMPL_IF name="branch" --> for branch = <!-- TMPL_VAR name="branch" --><!-- /TMPL_IF --></h1>
	<table>
		<tr>
			<th>Item type</th>
			<th>count</th>
		</tr>
			<!-- TMPL_LOOP name="loopitemtype" -->
				<tr>
					<td><!-- TMPL_VAR name="itemtype" --></td>
					<td><!-- TMPL_VAR name="count" --></td>
				</tr>
			<!-- /TMPL_LOOP name="loopitemtype" -->
			<tr>
				<th>TOTAL</th>
				<th><!-- TMPL_VAR name="total" --></th>
	</table>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
	<h1>View catalogue group by itemtypes</h1>
	<form method="post">
		Select a branch (or don't if you want the report for all branches) <!-- TMPL_VAR name="CGIbranch" -->
		<input type="submit" value="OK" class="button">
		<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="reports-bottom.inc" -->

Index: reports-home.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/reports/reports-home.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** reports-home.tmpl	19 Feb 2004 19:15:16 -0000	1.1
--- reports-home.tmpl	1 Apr 2004 21:35:58 -0000	1.2
***************
*** 9,12 ****
--- 9,15 ----
  Report (today)</li>
  <li><a href="/cgi-bin/koha/overdue.pl">Overdue items</a></li>
+ 	<li><a href="/cgi-bin/koha/reports/inventory.pl">Inventory/Stocktaking</a></li>
+ 	<li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalogue by itemtype</a></li>
+ 	<li><a href="/cgi-bin/koha/reports/manager.pl?report_name=issues_by_borrower_category">Issues by borrower category</a></li>
  </ul></div></div>
  





More information about the Koha-cvs mailing list