<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Subscription Details for <!-- TMPL_VAR name="bibliotitle" --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="serials-topmenu.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->

<div id="main">
<!-- TMPL_UNLESS name="popup" -->
	<h1>Subscription information for biblio #<!-- TMPL_VAR NAME="biblionumber" --> with title : <!-- TMPL_VAR name="bibliotitle" --></h1>
	<div class="tabbed">
			<form class="inline" action="/cgi-bin/koha/detail.pl" method="get">
		<input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" />
		<input type="submit" class="submit" value="Back to biblio" />
	</form>
<!-- /TMPL_UNLESS -->
	
	<!-- TMPL_LOOP NAME="years" -->
		<!-- TMPL_IF NAME="year" --><form class="inline" action="" method="get">
		<input type="submit" onclick="active(<!-- TMPL_VAR NAME="year" -->); return false;" class="submit" value="<!-- TMPL_VAR NAME="year" -->" />
	</form>		<!-- /TMPL_IF -->
	<!-- /TMPL_LOOP -->
	
	<form class="inline" action="serial-issues.pl" method="get">
		<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
		<input type="hidden" name="selectview" value="small" />
		<input type="submit" class="submit" value="Compact view" />
	</form>
	</div>
	
	<!-- TMPL_LOOP NAME="years" -->
	<div name="<!-- TMPL_VAR NAME="year" -->" id="<!-- TMPL_VAR NAME="year" -->" style="position:absolute; visibility:hidden; margin-top:0px; border:4px;" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->>
		<table>
			<tr>
				<th>Information</th>
				<th>Date</th>
				<th>Number</th>
				<th>Status</th>
			</tr>
			<!-- TMPL_LOOP Name="serials" -->
			<tr>
				<td>
					<!-- TMPL_VAR name="notes" -->
				</td>
				<td>
					<!-- TMPL_VAR Name="planneddate" -->
				</td>
				<td>
					<!-- TMPL_VAR Name="serialseq" -->
				</td>
				<td>
					<!-- TMPL_IF Name="status1" -->Arrived<!-- /TMPL_IF -->
					<!-- TMPL_IF Name="status2" -->Waited<!-- /TMPL_IF -->
					<!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
					<!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
				</td>
			</tr>
			<!-- /TMPL_LOOP -->
		</table>
	</div>
	<!--/TMPL_LOOP -->
	</div>
<script language="JavaScript" type="text/javascript">
active(<!-- TMPL_VAR name="yearmin" -->);
function active(numlayer)
{
	for (i=<!--TMPL_VAR Name="yearmin"-->; i<=<!--TMPL_VAR Name="yearmax"-->; i++ ) {
		ong = i;
		link = "link"+i;
		if (numlayer==i) {
			document.getElementById(ong).style.visibility="visible";
		} else {
			document.getElementById(ong).style.visibility="hidden";
		}
	}
}

</script>
</body>
</html>
