1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Serials › Serial Collection information for <!-- TMPL_VAR name="bibliotitle" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <script type="text/javascript">
7 function print_slip(subscriptionid,issue){
8 var myurl = 'routing-preview.pl?ok=1&subscriptionid='+subscriptionid+'&issue='+issue;
9 window.open(myurl,'PrintSlip','width=500,height=500,toolbar=no,scrollbars=yes');
11 function addsubscriptionid()
14 var serialids = document.edition.serialid;
15 for (i=0; i<serialids.length; i++){
16 if (serialids[i].checked == true){
19 if (tab[val] == document.getElementsByName("subs")[i].getAttribute('val')){found = true;}
22 tab=tab.concat((document.getElementsByName("subs")[i].getAttribute('val')));
28 string = string + tab[val] + ",";
30 string=string.substring(0,string.length -1);
31 document.edition.subscriptionid.value=string;
33 function popup(subscriptionid) {
34 newin=window.open('subscription-renew.pl?mode=popup&subscriptionid='+subscriptionid,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
37 function generateNext(subscriptionid) {
38 if(confirm("Do you really want to generate next serial?")){
39 document.location = 'serials-collection.pl?op=gennext&subscriptionid='+subscriptionid;
43 $(document).ready(function() {
44 $('#subscription_years > ul').tabs();
51 <body class="yui-skin-sam">
52 <!-- TMPL_INCLUDE NAME="header.inc" -->
53 <!-- TMPL_INCLUDE NAME="serials-search.inc" -->
55 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Serial Collection information for <i><!-- TMPL_VAR name="bibliotitle" --></i></div>
57 <div id="doc3" class="yui-t2">
64 <!-- TMPL_UNLESS name="popup" -->
65 <!-- TMPL_INCLUDE NAME="serials-toolbar.inc" -->
67 <h1>Serial Collection information for <i><!-- TMPL_VAR name="bibliotitle" --></i></h1>
70 <!--TMPL_IF Name="subscriptions"-->
72 <!--TMPL_IF Name="onesubscription"-->
73 <caption> Subscription Summary</caption>
75 <caption> Subscription Summaries</caption>
78 <th>Subscription Num. </th>
80 <th>Numbering pattern</th>
87 <!--TMPL_LOOP Name="subscriptions"-->
88 <!-- TMPL_UNLESS NAME="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
89 <td><a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->"># <!-- TMPL_VAR name="subscriptionid" --></a> </td>
90 <td> <!--TMPL_IF name="periodicity1" -->
93 <!--TMPL_IF name="periodicity2" -->
96 <!--TMPL_IF name="periodicity3" -->
99 <!--TMPL_IF name="periodicity4" -->
102 <!--TMPL_IF name="periodicity5" -->
105 <!--TMPL_IF name="periodicity6" -->
108 <!--TMPL_IF name="periodicity7" -->
111 <!--TMPL_IF name="periodicity8" -->
114 <!--TMPL_IF name="periodicity9" -->
117 <!--TMPL_IF name="periodicity10" -->
120 <!--TMPL_IF name="periodicity11" -->
122 <!-- /TMPL_IF --></td>
124 <!-- TMPL_IF name="numberpattern1" -->
127 <!-- TMPL_IF name="numberpattern2" -->
128 Volume, Number, Issue
130 <!-- TMPL_IF name="numberpattern3" -->
133 <!-- TMPL_IF name="numberpattern4" -->
136 <!-- TMPL_IF name="numberpattern5" -->
139 <!-- TMPL_IF name="numberpattern6" -->
142 <!-- TMPL_IF name="numberpattern7" -->
144 <!-- /TMPL_IF --></td>
145 <td> <!-- TMPL_VAR name="branchcode" --></td>
146 <td> <!-- TMPL_VAR name="callnumber" --></td>
147 <td> <!-- TMPL_VAR name="notes" --> <!--TMPL_IF name="subscriptionexpired"--><br /><span class="problem"> Subscription Expired</span>
150 <td><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Edit Routing List</a></td>
151 <!--TMPL_IF name="abouttoexpire"--><td class="problem"> <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" onclick="popup(<!--TMPL_VAR Name="subscriptionid"-->); return false;">Renew</a></td>
153 <!--TMPL_IF name="subscriptionexpired"--><td class="problem"> <a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" onclick="popup(<!--TMPL_VAR Name="subscriptionid"-->); return false;">Renew</a></td>
161 <!--TMPL_IF Name="subscr"-->
162 <!--TMPL_UNLESS Name="onesubscription"-->
163 <tr ><td colspan="7"> <a href="serials-collection.pl?biblionumber=<!--TMPL_VAR Name="biblionumber" -->">See any subscription attached to this biblio</a></td>
164 </tr><!-- /TMPL_UNLESS -->
170 <!-- TMPL_IF NAME="years" --><form name="edition" action="serials-edit.pl" method="post">
171 <div id="subscription_years" class="toptabs numbered">
173 <!-- TMPL_LOOP NAME="years" -->
174 <!-- TMPL_IF NAME="year" -->
175 <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=<!--TMPL_VAR Name="subscriptionid"-->#subscription-year-<!-- TMPL_VAR NAME="year" -->"><!-- TMPL_VAR NAME="year" --></a></li>
180 <!-- TMPL_LOOP NAME="years" -->
181 <div id="subscription-year-<!-- TMPL_VAR NAME="year" -->">
182 <table style="width:400px;">
184 <!--TMPL_UNLESS Name="onesubscription"-->
204 <!-- TMPL_LOOP Name="serials" -->
205 <!-- TMPL_UNLESS NAME="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
206 <!--TMPL_UNLESS Name="onesubscription"-->
207 <td><a href="serials-collection.pl?subscriptionid=<!--TMPL_VAR Name="subscriptionid"-->"><!--TMPL_VAR Name="subscriptionid"--></a></td>
210 <!-- TMPL_VAR Name="publisheddate" -->
213 <!-- TMPL_VAR Name="planneddate" -->
216 <!-- TMPL_VAR Name="serialseq" -->
219 <!-- TMPL_IF Name="status1" -->Expected<!-- /TMPL_IF --><!-- TMPL_IF Name="status2" -->Arrived<!-- /TMPL_IF --><!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF --><!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF --><!-- TMPL_IF Name="status5" -->Not Available<!-- /TMPL_IF --><!-- TMPL_IF Name="status7" -->Claimed<!-- /TMPL_IF -->
222 <!-- TMPL_VAR Name="notes" -->
225 <!-- TMPL_VAR Name="branchcode" -->
228 <a href="" onclick="print_slip(<!-- TMPL_VAR NAME="subscriptionid" ESCAPE="HTML" -->, '<!-- TMPL_VAR NAME="serialseq" ESCAPE="HTML" -->'); return false" >Print list</a>
231 <!--TMPL_IF Name="cannotedit"-->
234 <!--TMPL_IF Name="subscriptionexpired"-->
235 <input type="checkbox" name="serialid" value="<!--TMPL_VAR Name="serialid"-->" disabled="disabled" />
237 <!--TMPL_IF Name="checked"-->
238 <input type="checkbox" name="serialid" checked="checked" value="<!--TMPL_VAR Name="serialid"-->" />
240 <input type="checkbox" name="serialid" value="<!--TMPL_VAR Name="serialid"-->" />
248 <p><input type="submit" value="Edit serials" /> <input type="button" value="Generate Next" onclick="javascript:generateNext(<!-- TMPL_VAR NAME="subscriptionidlist" -->)" /></p>
251 <input type="hidden" name="subscriptionid" value="<!--TMPL_VAR Name="subscriptionidlist"-->" />
261 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
264 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->