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');
14 // common pre defined number patterns
15 // function num_pattern() {
16 // var patternchoice = '<!--TMPL_VAR NAME='numberpattern'-->';
17 // switch(patternchoice){
19 // options(text[1],text[0],text[2]);
24 // options(text[1],text[0]);
29 // options(text[1],text[2]);
34 // options(text[0],text[2]);
39 // var d = new Date();
40 // var sYear = d.getFullYear();
41 // // options_seasons(text[15],sYear);
58 // function display_table(n) {
60 // document.getElementById("basetable").style.display = 'block';
62 // document.getElementById("basetable").style.display = 'none';
66 // to dispaly the options section
67 function options(x,y,z){
69 // alert("X: "+x+"Y: "+y+"Z: "+z);
71 document.f.xfield.value = x;
73 document.f.yfield.value = y;
75 document.f.zfield.value = z;
81 function irregularity(){
82 var periodicity = '<!-- TMPL_VAR NAME="periodicity"-->';
85 var names = new Array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
88 <!-- TMPL_IF NAME="weekarrayjs" -->
89 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
93 <!-- TMPL_IF NAME="weekarrayjs" -->
94 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
98 <!-- TMPL_IF NAME="weekarrayjs" -->
99 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
103 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
106 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
109 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
112 var names = new Array('Autumn','Winter','Spring','Summer','Fall');
115 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
124 <!-- TMPL_IF NAME="irregularity" -->
125 var irregular = '<!-- TMPL_VAR NAME="irregularity" -->';
126 var irregarray = irregular.split('|');
127 var irregtext = '<p>';
128 for(var i=0;i<irregarray.length;i++){
129 irregtext += names[i]+' ';
132 document.getElementById("irreg").innerHTML = irregtext;
138 <h1>Subscription #<!--TMPL_VAR name="subscriptionid"--></h1>
139 <!--TMPL_IF Name="abouttoexpire"--><div class="problem">Subscription is by its end. It should be renewed now.</div><!--/TMPL_IF-->
142 <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a>
143 <a href="subscription-add.pl?op=dup&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Duplicate </a>
144 <a href="subscription-renew.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Renew </a>
145 <a href="serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serstatus=1,3">Receive</a>
146 <a href="javascript:confirm_deletion()">
151 <a href="serials-collection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Serial Collection</a>
152 <!-- TMPL_IF NAME="routing" -->
153 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Edit Routing List</a>
155 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&op=new">Create Routing List</a>
159 <div id="subscription_info">
160 <h2>Subscription information</h2>
161 <p><label>Librarian identity:</label> <!-- TMPL_VAR name="librarian" --></p>
162 <p><label>Supplier:</label> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR name="aqbooksellerid"-->"><!-- TMPL_VAR name="aqbooksellername" --> </a></p>
163 <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 />
164 <!-- TMPL_IF name="branchcode" --><p><label>Branch :</label> <!-- TMPL_VAR name="branchcode" --> </p><!-- /TMPL_IF -->
165 <!-- TMPL_IF name="callnumber" --><p><label>Call Number:</label> <!-- TMPL_VAR name="callnumber" --> </p><!-- /TMPL_IF -->
166 <!-- TMPL_IF name="letter" --><p><label>Patron alert with:</label> <!-- TMPL_VAR name="letter" --> </p><!-- /TMPL_IF -->
167 <!-- TMPL_IF name="notes" --><p><label>Notes:</label> <!-- TMPL_VAR name="notes" --></p><!-- /TMPL_IF -->
168 <!-- TMPL_IF name="internalnotes" --><p><label>Management Notes:</label> <!-- TMPL_VAR name="internalnotes" --></p><!-- /TMPL_IF -->
171 <div id="subscription_planning">
173 <p><label>Beginnning date:</label> <!-- TMPL_VAR name="startdate" -->
175 <p><label>Frequency (*):</label>
176 <!--TMPL_IF name="periodicity1" -->
179 <!--TMPL_IF name="periodicity2" -->
182 <!--TMPL_IF name="periodicity3" -->
185 <!--TMPL_IF name="periodicity4" -->
188 <!--TMPL_IF name="periodicity5" -->
191 <!--TMPL_IF name="periodicity6" -->
194 <!--TMPL_IF name="periodicity7" -->
197 <!--TMPL_IF name="periodicity8" -->
200 <!--TMPL_IF name="periodicity9" -->
203 <!--TMPL_IF name="periodicity10" -->
206 <!--TMPL_IF name="periodicity11" -->
210 <!--TMPL_IF Name="manualhistory"-->
211 <input type="checkbox" checked disabled>
213 <input type="checkbox" disabled>
216 <p><label>Number Pattern:</label>
217 <!-- TMPL_IF name="numberpattern1" -->
220 <!-- TMPL_IF name="numberpattern2" -->
221 Volume, Number, Issue
223 <!-- TMPL_IF name="numberpattern3" -->
226 <!-- TMPL_IF name="numberpattern4" -->
229 <!-- TMPL_IF name="numberpattern5" -->
232 <!-- TMPL_IF name="numberpattern6" -->
235 <!-- TMPL_IF name="numberpattern7" -->
240 <tr><td><p>Starting with:</p></td>
241 <td align="center"><!--TMPL_VAR NAME="lastvalue1"--></td>
242 <!--TMPL_IF NAME="lastvalue2"-->
243 <td align="center">
244 <!--TMPL_VAR NAME="lastvalue2"-->
247 <!--TMPL_IF NAME="lastvalue3"-->
248 <td align="center">
249 <!--TMPL_VAR NAME="lastvalue3"-->
253 <tr><td><p>Rollover:</p></td>
254 <td align="center"> </td>
255 <!--TMPL_IF NAME="whenmorethan2"-->
256 <td align="center">
257 <!--TMPL_VAR NAME="whenmorethan2"-->
260 <!--TMPL_IF NAME="whenmorethan3"-->
261 <td align="center">
262 <!--TMPL_VAR NAME="whenmorethan3"-->
267 <!-- TMPL_IF NAME="irregularity" -->
268 <p><label>Irregularity:</label>
269 <div id="irreg"></div>
272 <p><label>Begins on:</label>
273 <!--TMPL_VAR name="startdate" -->
275 <!-- TMPL_IF name="numberlength" --><p><label>Number of issues:</label> <!-- TMPL_VAR name="numberlength" --></p><!-- /TMPL_IF -->
276 <!-- TMPL_IF name="weeklength" --><p><label>Number of weeks:</label> <!-- TMPL_VAR name="weeklength" --></p><!-- /TMPL_IF -->
277 <!-- TMPL_IF name="monthlength" --><p><label>Number of months:</label> <!-- TMPL_VAR name="monthlength" --></p><!-- /TMPL_IF -->
279 <div id="subscription_numbering">
280 <h2>Numbering calculation</h2>
281 <p><label>Numbering formula:</label> <!-- TMPL_VAR name="numberingmethod" --></p>
292 <!-- TMPL_VAR name="add1" -->
295 <!-- TMPL_VAR name="add2" -->
298 <!-- TMPL_VAR name="add3" -->
303 <td><!-- TMPL_VAR name="every1" --></td>
304 <td><!-- TMPL_VAR name="every2" --></td>
305 <td><!-- TMPL_VAR name="every3" --></td>
308 <td>When more than</td>
309 <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br/>
310 <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
311 <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br/>
312 <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
313 <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br/>
314 <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
318 <td><!-- TMPL_VAR name="setto1" --></td>
319 <td><!-- TMPL_VAR name="setto2" --></td>
320 <td><!-- TMPL_VAR name="setto3" --></td>
326 <td><!-- TMPL_VAR name="lastvalue1" --></td>
327 <td><!-- TMPL_VAR name="lastvalue2" --></td>
328 <td><!-- TMPL_VAR name="lastvalue3" --></td>
332 <div id="subscription_issues">
333 <h2>Serial issues</h2>
336 <th>Issue number</th>
337 <th>Planned date</th>
340 <!-- TMPL_LOOP name="serialslist" -->
343 <!-- TMPL_VAR name="serialseq" -->
346 <!-- TMPL_VAR name="planneddate" -->
349 <!--TMPL_IF name="status1" -->
352 <!--TMPL_IF name="status2" -->
355 <!--TMPL_IF name="status3" -->
358 <!--TMPL_IF name="status4" -->
366 <div id="subscription_summary">
367 <h2>Subscription summary</h2>
368 <table cellpadding="0" cellspacing="0">
370 <td><label>Start Date :</label></td>
371 <td> <!-- TMPL_VAR name="histstartdate" --> </td>
374 <td><label>End Date :</label></td>
375 <td> <!-- TMPL_VAR name="enddate" --></td>
377 <tr><td><label>Recieved issues</label></td><td><!-- TMPL_VAR name="recievedlist" --></td></tr>
378 <tr><td><label>Missing issues</label></td><td><!-- TMPL_VAR name="missinglist" --></td></tr>
379 <tr><td><label>Librarian's note</label></td><td><!-- TMPL_VAR name="librariannote" --></td></tr>
380 <tr><td><label>Opac's note</label></td><td><!-- TMPL_VAR name="opacnote" --></td></tr>
384 <script type="text/javascript">
385 function confirm_deletion() {
386 var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
388 window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
391 function popup(link) {
392 newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
395 // window.onload = num_pattern();
397 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->