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" -->
4 <script type="text/javascript" language="javascript">
6 function _(s) { return s } // dummy function for gettext
8 // the english words used in display purposes
9 var text = new Array(_('Number'),_('Volume'),_('Issue'),_('Month'),_('Week'),_('Starting with:'),_('Rollover at:'),_('Choose Hemisphere:'),_('Northern'),_('Southern',
10 'Autumn'),_('Winter'),_('Spring'),_('Summer'),_('Fall'),_('Season'),_('Year'));
13 // to display the options section
14 function options(x,y,z){
16 // alert("X: "+x+"Y: "+y+"Z: "+z);
18 document.f.xfield.value = x;
20 document.f.yfield.value = y;
22 document.f.zfield.value = z;
28 function irregularity(){
29 var periodicity = '<!-- TMPL_VAR NAME="periodicity"-->';
32 var names = new Array(_('Monday'),_('Tuesday'),_('Wednesday'),_('Thursday'),_('Friday'),_('Saturday'),_('Sunday'));
35 <!-- TMPL_IF NAME="weekarrayjs" -->
36 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
40 <!-- TMPL_IF NAME="weekarrayjs" -->
41 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
45 <!-- TMPL_IF NAME="weekarrayjs" -->
46 var names = new Array(<!-- TMPL_VAR NAME="weekarrayjs" -->);
50 var names = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December'));
53 var names = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December'));
56 var names = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December'));
59 var names = new Array(_('Autumn'),_('Winter'),_('Spring'),_('Summer'),_('Fall'));
62 var names = new Array(_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),_('July'),_('August'),_('September'),_('October'),_('November'),_('December'));
71 <!-- TMPL_IF NAME="irregularity" -->
72 var irregular = '<!-- TMPL_VAR NAME="irregularity" -->';
73 var irregarray = irregular.split('|');
74 var irregtext = '<p>';
75 for(var i=0;i<irregarray.length;i++){
76 irregtext += names[i]+' ';
79 document.getElementById("irreg").innerHTML = irregtext;
83 function confirm_deletion() {
84 var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
86 window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
89 function popup(subscriptionid) {
90 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
97 <!-- TMPL_INCLUDE NAME="header.inc" -->
98 <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
100 <div id="doc3" class="yui-t2">
104 <div class="yui-b"><div class="yui-g">
107 <h1>Subscription #<!--TMPL_VAR name="subscriptionid"--></h1>
108 <!--TMPL_IF Name="abouttoexpire"--><div class="problem">Subscription is by its end. It should be renewed now.</div><!--/TMPL_IF-->
112 <li> <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a></li>
113 <li> <a href="subscription-add.pl?op=dup&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Duplicate </a></li>
114 <li> <a href="#" onclick="popup(<!--TMPL_VAR Name="subscriptionid"-->)">Renew </a></li>
115 <li> <a href="serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serstatus=1,3">Receive</a></li>
116 <li> <a href="javascript:confirm_deletion()">Delete</a></li>
121 <li> <a href="serials-collection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Serial Collection</a></li>
122 <!-- TMPL_IF NAME="routing" --><li><a href="routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Edit Routing List</a></li><!-- TMPL_ELSE -->
123 <li> <a href="routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&op=new">Create Routing List</a></li>
128 <div id="subscription_info">
129 <h2>Subscription information</h2>
130 <p><label>Librarian identity:</label> <!-- TMPL_VAR name="librarian" --></p>
131 <p><label>Supplier:</label> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR name="aqbooksellerid"-->"><!-- TMPL_VAR name="aqbooksellername" --> </a></p>
132 <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 />
133 <!-- TMPL_IF name="branchcode" --><p><label>Branch :</label> <!-- TMPL_VAR name="branchcode" --> </p><!-- /TMPL_IF -->
134 <!-- TMPL_IF name="callnumber" --><p><label>Call Number:</label> <!-- TMPL_VAR name="callnumber" --> </p><!-- /TMPL_IF -->
135 <!-- TMPL_IF name="letter" --><p><label>Patron alert with:</label> <!-- TMPL_VAR name="letter" --> </p><!-- /TMPL_IF -->
136 <!-- TMPL_IF name="notes" --><p><label>Notes:</label> <!-- TMPL_VAR name="notes" --></p><!-- /TMPL_IF -->
137 <!-- TMPL_IF name="internalnotes" --><p><label>Management Notes:</label> <!-- TMPL_VAR name="internalnotes" --></p><!-- /TMPL_IF -->
140 <div id="subscription_planning">
142 <p><label>Beginnning date:</label> <!-- TMPL_VAR name="startdate" -->
144 <p><label>Frequency (*):</label>
145 <!--TMPL_IF name="periodicity16" -->
148 <!--TMPL_IF name="periodicity32" -->
151 <!--TMPL_IF name="periodicity" -->
154 <!--TMPL_IF name="periodicity12" -->
157 <!--TMPL_IF name="periodicity1" -->
160 <!--TMPL_IF name="periodicity13" -->
163 <!--TMPL_IF name="periodicity2" -->
166 <!--TMPL_IF name="periodicity3" -->
169 <!--TMPL_IF name="periodicity4" -->
172 <!--TMPL_IF name="periodicity5" -->
175 <!--TMPL_IF name="periodicity6" -->
178 <!--TMPL_IF name="periodicity7" -->
181 <!--TMPL_IF name="periodicity8" -->
184 <!--TMPL_IF name="periodicity9" -->
187 <!--TMPL_IF name="periodicity10" -->
190 <!--TMPL_IF name="periodicity11" -->
194 <!--TMPL_IF Name="manualhistory"-->
195 <input type="checkbox" checked="checked" disabled="disabled" />
197 <input type="checkbox" disabled="disabled" />
200 <p><label>Number Pattern:</label>
201 <!-- TMPL_IF name="numberpattern1" -->
204 <!-- TMPL_IF name="numberpattern2" -->
205 Volume, Number, Issue
207 <!-- TMPL_IF name="numberpattern3" -->
210 <!-- TMPL_IF name="numberpattern4" -->
213 <!-- TMPL_IF name="numberpattern5" -->
216 <!-- TMPL_IF name="numberpattern8" -->
219 <!-- TMPL_IF name="numberpattern6" -->
222 <!-- TMPL_IF name="numberpattern7" -->
227 <tr><td><p>Starting with:</p></td>
228 <td align="center"><!--TMPL_VAR NAME="lastvalue1"--></td>
229 <!--TMPL_IF NAME="lastvalue2"-->
230 <td align="center">
231 <!--TMPL_VAR NAME="lastvalue2"-->
234 <!--TMPL_IF NAME="lastvalue3"-->
235 <td align="center">
236 <!--TMPL_VAR NAME="lastvalue3"-->
240 <tr><td><p>Rollover:</p></td>
241 <td align="center"> </td>
242 <!--TMPL_IF NAME="whenmorethan2"-->
243 <td align="center">
244 <!--TMPL_VAR NAME="whenmorethan2"-->
247 <!--TMPL_IF NAME="whenmorethan3"-->
248 <td align="center">
249 <!--TMPL_VAR NAME="whenmorethan3"-->
254 <!-- TMPL_IF NAME="irregularity" -->
255 <p><label>Irregularity:</label>
256 <div id="irreg"></div>
259 <p><label>Begins on:</label>
260 <!--TMPL_VAR name="startdate" -->
262 <!-- TMPL_IF name="numberlength" --><p><label>Number of issues:</label> <!-- TMPL_VAR name="numberlength" --></p><!-- /TMPL_IF -->
263 <!-- TMPL_IF name="weeklength" --><p><label>Number of weeks:</label> <!-- TMPL_VAR name="weeklength" --></p><!-- /TMPL_IF -->
264 <!-- TMPL_IF name="monthlength" --><p><label>Number of months:</label> <!-- TMPL_VAR name="monthlength" --></p><!-- /TMPL_IF -->
266 <div id="subscription_numbering">
267 <h2>Numbering calculation</h2>
268 <p><label>Numbering formula:</label> <!-- TMPL_VAR name="numberingmethod" --></p>
279 <!-- TMPL_VAR name="add1" -->
282 <!-- TMPL_VAR name="add2" -->
285 <!-- TMPL_VAR name="add3" -->
290 <td><!-- TMPL_VAR name="every1" --></td>
291 <td><!-- TMPL_VAR name="every2" --></td>
292 <td><!-- TMPL_VAR name="every3" --></td>
295 <td>When more than</td>
296 <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br />
297 <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
298 <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br />
299 <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
300 <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br />
301 <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
305 <td><!-- TMPL_VAR name="setto1" --></td>
306 <td><!-- TMPL_VAR name="setto2" --></td>
307 <td><!-- TMPL_VAR name="setto3" --></td>
313 <td><!-- TMPL_VAR name="lastvalue1" --></td>
314 <td><!-- TMPL_VAR name="lastvalue2" --></td>
315 <td><!-- TMPL_VAR name="lastvalue3" --></td>
319 <div id="subscription_issues">
320 <h2>Serial issues</h2>
323 <th>Issue number</th>
324 <th>Planned date</th>
325 <th>Published date</th>
328 <!-- TMPL_LOOP name="serialslist" -->
331 <!-- TMPL_VAR name="serialseq" -->
334 <!-- TMPL_VAR name="planneddate" -->
337 <!-- TMPL_VAR name="publisheddate" -->
340 <!--TMPL_IF name="status1" -->
343 <!--TMPL_IF name="status2" -->
346 <!--TMPL_IF name="status3" -->
349 <!--TMPL_IF name="status4" -->
357 <div id="subscription_summary">
358 <h2>Subscription summary</h2>
359 <table cellpadding="0" cellspacing="0">
361 <td><label>Start Date :</label></td>
362 <td> <!-- TMPL_VAR name="histstartdate" --> </td>
365 <td><label>End Date :</label></td>
366 <td> <!-- TMPL_VAR name="enddate" --></td>
368 <tr><td><label>Recieved issues</label></td><td><!-- TMPL_VAR name="recievedlist" --></td></tr>
369 <tr><td><label>Missing issues</label></td><td><!-- TMPL_VAR name="missinglist" --></td></tr>
370 <tr><td><label>Librarian's note</label></td><td><!-- TMPL_VAR name="librariannote" --></td></tr>
371 <tr><td><label>Opac's note</label></td><td><!-- TMPL_VAR name="opacnote" --></td></tr>
379 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
380 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->