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" -->
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
9 <div id="doc3" class="yui-t2">
13 <div class="yui-b"><div class="yui-g">
15 <script type="text/javascript" language="javascript">
17 // the english words used in display purposes
18 var text = new Array('Number','Volume','Issue','Month','Week','Starting with:','Rollover at:','Choose Hemisphere:','Northern','Southern',
19 'Autumn','Winter','Spring','Summer','Fall','Season','Year');
22 // to display the options section
23 function options(x,y,z){
25 // alert("X: "+x+"Y: "+y+"Z: "+z);
27 document.f.xfield.value = x;
29 document.f.yfield.value = y;
31 document.f.zfield.value = z;
37 function irregularity(){
38 var periodicity = '<!-- TMPL_VAR NAME="periodicity"-->';
41 var names = new Array('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday');
44 <!-- TMPL_IF NAME="weekarrayjs" -->
45 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
49 <!-- TMPL_IF NAME="weekarrayjs" -->
50 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
54 <!-- TMPL_IF NAME="weekarrayjs" -->
55 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
59 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
62 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
65 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
68 var names = new Array('Autumn','Winter','Spring','Summer','Fall');
71 var names = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
80 <!-- TMPL_IF NAME="irregularity" -->
81 var irregular = '<!-- TMPL_VAR NAME="irregularity" -->';
82 var irregarray = irregular.split('|');
83 var irregtext = '<p>';
84 for(var i=0;i<irregarray.length;i++){
85 irregtext += names[i]+' ';
88 document.getElementById("irreg").innerHTML = irregtext;
94 <h1>Subscription #<!--TMPL_VAR name="subscriptionid"--></h1>
95 <!--TMPL_IF Name="abouttoexpire"--><div class="problem">Subscription is by its end. It should be renewed now.</div><!--/TMPL_IF-->
98 <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a>
99 <a href="subscription-add.pl?op=dup&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Duplicate </a>
100 <a href="#" onclick="popup(<!--TMPL_VAR Name="subscriptionid"-->)">Renew </a>
101 <a href="serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serstatus=1,3">Receive</a>
102 <a href="javascript:confirm_deletion()">
107 <a href="serials-collection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Serial Collection</a>
108 <!-- TMPL_IF NAME="routing" -->
109 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Edit Routing List</a>
111 <a href="routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&op=new">Create Routing List</a>
115 <div id="subscription_info">
116 <h2>Subscription information</h2>
117 <p><label>Librarian identity:</label> <!-- TMPL_VAR name="librarian" --></p>
118 <p><label>Supplier:</label> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR name="aqbooksellerid"-->"><!-- TMPL_VAR name="aqbooksellername" --> </a></p>
119 <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 />
120 <!-- TMPL_IF name="branchcode" --><p><label>Branch :</label> <!-- TMPL_VAR name="branchcode" --> </p><!-- /TMPL_IF -->
121 <!-- TMPL_IF name="callnumber" --><p><label>Call Number:</label> <!-- TMPL_VAR name="callnumber" --> </p><!-- /TMPL_IF -->
122 <!-- TMPL_IF name="letter" --><p><label>Patron alert with:</label> <!-- TMPL_VAR name="letter" --> </p><!-- /TMPL_IF -->
123 <!-- TMPL_IF name="notes" --><p><label>Notes:</label> <!-- TMPL_VAR name="notes" --></p><!-- /TMPL_IF -->
124 <!-- TMPL_IF name="internalnotes" --><p><label>Management Notes:</label> <!-- TMPL_VAR name="internalnotes" --></p><!-- /TMPL_IF -->
127 <div id="subscription_planning">
129 <p><label>Beginnning date:</label> <!-- TMPL_VAR name="startdate" -->
131 <p><label>Frequency (*):</label>
132 <!--TMPL_IF name="periodicity16" -->
135 <!--TMPL_IF name="periodicity32" -->
138 <!--TMPL_IF name="periodicity" -->
141 <!--TMPL_IF name="periodicity12" -->
144 <!--TMPL_IF name="periodicity1" -->
147 <!--TMPL_IF name="periodicity13" -->
150 <!--TMPL_IF name="periodicity2" -->
153 <!--TMPL_IF name="periodicity3" -->
156 <!--TMPL_IF name="periodicity4" -->
159 <!--TMPL_IF name="periodicity5" -->
162 <!--TMPL_IF name="periodicity6" -->
165 <!--TMPL_IF name="periodicity7" -->
168 <!--TMPL_IF name="periodicity8" -->
171 <!--TMPL_IF name="periodicity9" -->
174 <!--TMPL_IF name="periodicity10" -->
177 <!--TMPL_IF name="periodicity11" -->
181 <!--TMPL_IF Name="manualhistory"-->
182 <input type="checkbox" checked="checked" disabled="disabled" />
184 <input type="checkbox" disabled="disabled" />
187 <p><label>Number Pattern:</label>
188 <!-- TMPL_IF name="numberpattern1" -->
191 <!-- TMPL_IF name="numberpattern2" -->
192 Volume, Number, Issue
194 <!-- TMPL_IF name="numberpattern3" -->
197 <!-- TMPL_IF name="numberpattern4" -->
200 <!-- TMPL_IF name="numberpattern5" -->
203 <!-- TMPL_IF name="numberpattern8" -->
206 <!-- TMPL_IF name="numberpattern6" -->
209 <!-- TMPL_IF name="numberpattern7" -->
214 <tr><td><p>Starting with:</p></td>
215 <td align="center"><!--TMPL_VAR NAME="lastvalue1"--></td>
216 <!--TMPL_IF NAME="lastvalue2"-->
217 <td align="center">
218 <!--TMPL_VAR NAME="lastvalue2"-->
221 <!--TMPL_IF NAME="lastvalue3"-->
222 <td align="center">
223 <!--TMPL_VAR NAME="lastvalue3"-->
227 <tr><td><p>Rollover:</p></td>
228 <td align="center"> </td>
229 <!--TMPL_IF NAME="whenmorethan2"-->
230 <td align="center">
231 <!--TMPL_VAR NAME="whenmorethan2"-->
234 <!--TMPL_IF NAME="whenmorethan3"-->
235 <td align="center">
236 <!--TMPL_VAR NAME="whenmorethan3"-->
241 <!-- TMPL_IF NAME="irregularity" -->
242 <p><label>Irregularity:</label>
243 <div id="irreg"></div>
246 <p><label>Begins on:</label>
247 <!--TMPL_VAR name="startdate" -->
249 <!-- TMPL_IF name="numberlength" --><p><label>Number of issues:</label> <!-- TMPL_VAR name="numberlength" --></p><!-- /TMPL_IF -->
250 <!-- TMPL_IF name="weeklength" --><p><label>Number of weeks:</label> <!-- TMPL_VAR name="weeklength" --></p><!-- /TMPL_IF -->
251 <!-- TMPL_IF name="monthlength" --><p><label>Number of months:</label> <!-- TMPL_VAR name="monthlength" --></p><!-- /TMPL_IF -->
253 <div id="subscription_numbering">
254 <h2>Numbering calculation</h2>
255 <p><label>Numbering formula:</label> <!-- TMPL_VAR name="numberingmethod" --></p>
266 <!-- TMPL_VAR name="add1" -->
269 <!-- TMPL_VAR name="add2" -->
272 <!-- TMPL_VAR name="add3" -->
277 <td><!-- TMPL_VAR name="every1" --></td>
278 <td><!-- TMPL_VAR name="every2" --></td>
279 <td><!-- TMPL_VAR name="every3" --></td>
282 <td>When more than</td>
283 <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br />
284 <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
285 <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br />
286 <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
287 <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br />
288 <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
292 <td><!-- TMPL_VAR name="setto1" --></td>
293 <td><!-- TMPL_VAR name="setto2" --></td>
294 <td><!-- TMPL_VAR name="setto3" --></td>
300 <td><!-- TMPL_VAR name="lastvalue1" --></td>
301 <td><!-- TMPL_VAR name="lastvalue2" --></td>
302 <td><!-- TMPL_VAR name="lastvalue3" --></td>
306 <div id="subscription_issues">
307 <h2>Serial issues</h2>
310 <th>Issue number</th>
311 <th>Planned date</th>
312 <th>Published date</th>
315 <!-- TMPL_LOOP name="serialslist" -->
318 <!-- TMPL_VAR name="serialseq" -->
321 <!-- TMPL_VAR name="planneddate" -->
324 <!-- TMPL_VAR name="publisheddate" -->
327 <!--TMPL_IF name="status1" -->
330 <!--TMPL_IF name="status2" -->
333 <!--TMPL_IF name="status3" -->
336 <!--TMPL_IF name="status4" -->
344 <div id="subscription_summary">
345 <h2>Subscription summary</h2>
346 <table cellpadding="0" cellspacing="0">
348 <td><label>Start Date :</label></td>
349 <td> <!-- TMPL_VAR name="histstartdate" --> </td>
352 <td><label>End Date :</label></td>
353 <td> <!-- TMPL_VAR name="enddate" --></td>
355 <tr><td><label>Recieved issues</label></td><td><!-- TMPL_VAR name="recievedlist" --></td></tr>
356 <tr><td><label>Missing issues</label></td><td><!-- TMPL_VAR name="missinglist" --></td></tr>
357 <tr><td><label>Librarian's note</label></td><td><!-- TMPL_VAR name="librariannote" --></td></tr>
358 <tr><td><label>Opac's note</label></td><td><!-- TMPL_VAR name="opacnote" --></td></tr>
362 <script type="text/javascript">
363 function confirm_deletion() {
364 var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
366 window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
369 function popup(subscriptionid) {
370 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
373 // window.onload = num_pattern();
379 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
380 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->