1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Serials Detail for Subscription #<!-- TMPL_VAR name="subscriptionid" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
8 <script type="text/javascript" language="javascript">
10 // the english words used in display purposes
11 var text = new Array('Number','Volume','Issue','Month','Week','Starting with:','Rollover at:','Choose Hemisphere:','Northern','Southern',
12 'Autumn','Winter','Spring','Summer','Fall','Season','Year');
15 // to display the options section
16 function options(x,y,z){
18 // alert("X: "+x+"Y: "+y+"Z: "+z);
20 document.f.xfield.value = x;
22 document.f.yfield.value = y;
24 document.f.zfield.value = z;
30 function irregularity(){
31 var periodicity = '<!-- TMPL_VAR NAME="periodicity"-->';
34 var names = new Array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
37 <!-- TMPL_IF NAME="weekarrayjs" -->
38 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
42 <!-- TMPL_IF NAME="weekarrayjs" -->
43 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
47 <!-- TMPL_IF NAME="weekarrayjs" -->
48 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
52 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
55 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
58 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
61 var names = new Array('Autumn','Winter','Spring','Summer','Fall');
64 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
73 <!-- TMPL_IF NAME="irregularity" -->
74 var irregular = '<!-- TMPL_VAR NAME="irregularity" -->';
75 var irregarray = irregular.split('|');
76 var irregtext = '<p>';
77 for(var i=0;i<irregarray.length;i++){
78 irregtext += names[i]+' ';
81 document.getElementById("irreg").innerHTML = irregtext;
87 <h1>Subscription #<!--TMPL_VAR name="subscriptionid"--></h1>
88 <!--TMPL_IF Name="abouttoexpire"--><div class="problem">Subscription is by its end. It should be renewed now.</div><!--/TMPL_IF-->
91 <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a>
92 <a href="subscription-add.pl?op=dup&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Duplicate </a>
93 <a href="#" onclick="javascript:popup(<!--TMPL_VAR Name="subscriptionid"-->)">Renew </a>
94 <a href="serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serstatus=1,3">Receive</a>
95 <a href="javascript:confirm_deletion()">
100 <a href="serials-collection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Serial Collection</a>
101 <!-- TMPL_IF NAME="routing" -->
102 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Edit Routing List</a>
104 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&op=new">Create Routing List</a>
108 <div id="subscription_info">
109 <h2>Subscription information</h2>
110 <p><label>Librarian identity:</label> <!-- TMPL_VAR name="librarian" --></p>
111 <p><label>Supplier:</label> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR name="aqbooksellerid"-->"><!-- TMPL_VAR name="aqbooksellername" --> </a></p>
112 <p><label>Biblio:</label> <i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR name="bibliotitle" --></a></p><br />
113 <!-- TMPL_IF name="branchcode" --><p><label>Branch :</label> <!-- TMPL_VAR name="branchcode" --> </p><!-- /TMPL_IF -->
114 <!-- TMPL_IF name="callnumber" --><p><label>Call Number:</label> <!-- TMPL_VAR name="callnumber" --> </p><!-- /TMPL_IF -->
115 <!-- TMPL_IF name="letter" --><p><label>Patron alert with:</label> <!-- TMPL_VAR name="letter" --> </p><!-- /TMPL_IF -->
116 <!-- TMPL_IF name="notes" --><p><label>Notes:</label> <!-- TMPL_VAR name="notes" --></p><!-- /TMPL_IF -->
117 <!-- TMPL_IF name="internalnotes" --><p><label>Management Notes:</label> <!-- TMPL_VAR name="internalnotes" --></p><!-- /TMPL_IF -->
120 <div id="subscription_planning">
122 <p><label>Beginnning date:</label> <!-- TMPL_VAR name="startdate" -->
124 <p><label>Frequency (*):</label>
125 <!--TMPL_IF name="periodicity16" -->
128 <!--TMPL_IF name="periodicity32" -->
131 <!--TMPL_IF name="periodicity" -->
134 <!--TMPL_IF name="periodicity12" -->
137 <!--TMPL_IF name="periodicity1" -->
140 <!--TMPL_IF name="periodicity13" -->
143 <!--TMPL_IF name="periodicity2" -->
146 <!--TMPL_IF name="periodicity3" -->
149 <!--TMPL_IF name="periodicity4" -->
152 <!--TMPL_IF name="periodicity5" -->
155 <!--TMPL_IF name="periodicity6" -->
158 <!--TMPL_IF name="periodicity7" -->
161 <!--TMPL_IF name="periodicity8" -->
164 <!--TMPL_IF name="periodicity9" -->
167 <!--TMPL_IF name="periodicity10" -->
170 <!--TMPL_IF name="periodicity11" -->
174 <!--TMPL_IF Name="manualhistory"-->
175 <input type="checkbox" checked disabled>
177 <input type="checkbox" disabled>
180 <p><label>Number Pattern:</label>
181 <!-- TMPL_IF name="numberpattern1" -->
184 <!-- TMPL_IF name="numberpattern2" -->
185 Volume, Number, Issue
187 <!-- TMPL_IF name="numberpattern3" -->
190 <!-- TMPL_IF name="numberpattern4" -->
193 <!-- TMPL_IF name="numberpattern5" -->
196 <!-- TMPL_IF name="numberpattern8" -->
199 <!-- TMPL_IF name="numberpattern6" -->
202 <!-- TMPL_IF name="numberpattern7" -->
207 <tr><td><p>Starting with:</p></td>
208 <td align="center"><!--TMPL_VAR NAME="lastvalue1"--></td>
209 <!--TMPL_IF NAME="lastvalue2"-->
210 <td align="center">
211 <!--TMPL_VAR NAME="lastvalue2"-->
214 <!--TMPL_IF NAME="lastvalue3"-->
215 <td align="center">
216 <!--TMPL_VAR NAME="lastvalue3"-->
220 <tr><td><p>Rollover:</p></td>
221 <td align="center"> </td>
222 <!--TMPL_IF NAME="whenmorethan2"-->
223 <td align="center">
224 <!--TMPL_VAR NAME="whenmorethan2"-->
227 <!--TMPL_IF NAME="whenmorethan3"-->
228 <td align="center">
229 <!--TMPL_VAR NAME="whenmorethan3"-->
234 <!-- TMPL_IF NAME="irregularity" -->
235 <p><label>Irregularity:</label>
236 <div id="irreg"></div>
239 <p><label>Begins on:</label>
240 <!--TMPL_VAR name="startdate" -->
242 <!-- TMPL_IF name="numberlength" --><p><label>Number of issues:</label> <!-- TMPL_VAR name="numberlength" --></p><!-- /TMPL_IF -->
243 <!-- TMPL_IF name="weeklength" --><p><label>Number of weeks:</label> <!-- TMPL_VAR name="weeklength" --></p><!-- /TMPL_IF -->
244 <!-- TMPL_IF name="monthlength" --><p><label>Number of months:</label> <!-- TMPL_VAR name="monthlength" --></p><!-- /TMPL_IF -->
246 <div id="subscription_numbering">
247 <h2>Numbering calculation</h2>
248 <p><label>Numbering formula:</label> <!-- TMPL_VAR name="numberingmethod" --></p>
259 <!-- TMPL_VAR name="add1" -->
262 <!-- TMPL_VAR name="add2" -->
265 <!-- TMPL_VAR name="add3" -->
270 <td><!-- TMPL_VAR name="every1" --></td>
271 <td><!-- TMPL_VAR name="every2" --></td>
272 <td><!-- TMPL_VAR name="every3" --></td>
275 <td>When more than</td>
276 <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br/>
277 <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
278 <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br/>
279 <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
280 <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br/>
281 <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
285 <td><!-- TMPL_VAR name="setto1" --></td>
286 <td><!-- TMPL_VAR name="setto2" --></td>
287 <td><!-- TMPL_VAR name="setto3" --></td>
293 <td><!-- TMPL_VAR name="lastvalue1" --></td>
294 <td><!-- TMPL_VAR name="lastvalue2" --></td>
295 <td><!-- TMPL_VAR name="lastvalue3" --></td>
299 <div id="subscription_issues">
300 <h2>Serial issues</h2>
303 <th>Issue number</th>
304 <th>Planned date</th>
305 <th>Published date</th>
308 <!-- TMPL_LOOP name="serialslist" -->
311 <!-- TMPL_VAR name="serialseq" -->
314 <!-- TMPL_VAR name="planneddate" -->
317 <!-- TMPL_VAR name="publisheddate" -->
320 <!--TMPL_IF name="status1" -->
323 <!--TMPL_IF name="status2" -->
326 <!--TMPL_IF name="status3" -->
329 <!--TMPL_IF name="status4" -->
337 <div id="subscription_summary">
338 <h2>Subscription summary</h2>
339 <table cellpadding="0" cellspacing="0">
341 <td><label>Start Date :</label></td>
342 <td> <!-- TMPL_VAR name="histstartdate" --> </td>
345 <td><label>End Date :</label></td>
346 <td> <!-- TMPL_VAR name="enddate" --></td>
348 <tr><td><label>Recieved issues</label></td><td><!-- TMPL_VAR name="recievedlist" --></td></tr>
349 <tr><td><label>Missing issues</label></td><td><!-- TMPL_VAR name="missinglist" --></td></tr>
350 <tr><td><label>Librarian's note</label></td><td><!-- TMPL_VAR name="librariannote" --></td></tr>
351 <tr><td><label>Opac's note</label></td><td><!-- TMPL_VAR name="opacnote" --></td></tr>
355 <script type="text/javascript">
356 function confirm_deletion() {
357 var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
359 window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
362 function popup(subscriptionid) {
363 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
366 // window.onload = num_pattern();
368 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->