Change in API : ordnum becomes ordernumber
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / subscription-detail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Serials &rsaquo; Details for Subscription #<!-- TMPL_VAR name="subscriptionid" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" language="javascript">
5 <!--
6
7 // the english words used in display purposes
8 var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern",
9 "Autumn"),_("Winter"),_("Spring"),_("Summer"),_("Fall"),_("Season"),_("Year"));
10
11
12 // to display the options section
13 function options(x,y,z){
14 var textbox = '';
15     // alert("X: "+x+"Y: "+y+"Z: "+z);
16     if(x){
17         document.f.xfield.value = x;
18         if(y){
19             document.f.yfield.value = y;
20             if(z){
21                 document.f.zfield.value = z;
22             }
23         }
24     }
25 }
26
27 function confirm_deletion() {
28     var is_confirmed = confirm(_("Are you sure you want to delete this subscription?"));
29     if (is_confirmed) {
30         window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
31     }
32 }
33 function popup(subscriptionid) {
34     newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes');
35 }
36
37 -->
38 </script>
39 </head>
40 <body>
41 <!-- TMPL_INCLUDE NAME="header.inc" -->
42 <!-- TMPL_INCLUDE NAME="serials-search.inc" -->
43
44 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; Details for Subscription #<!-- TMPL_VAR name="subscriptionid" --></div>
45
46 <div id="doc3" class="yui-t2">
47    
48    <div id="bd">
49         <div id="yui-main">
50         <div class="yui-b">
51         <!-- TMPL_INCLUDE NAME="serials-toolbar.inc" -->
52
53     <h1>Subscription for <!-- TMPL_VAR name="bibliotitle" --> </h1>
54     <!--TMPL_IF Name="abouttoexpire"--><div class="problem">Subscription is near its end. It should be renewed now.</div><!--/TMPL_IF-->
55     <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
56     <div id="circ_needsconfirmation" class="dialog alert">
57                         <h3>Please Confirm Subscription deletion</h3>
58
59                         <ul>
60                         <!-- TMPL_IF NAME="NOTEXPIRED" --> <li>The subscription has not expired yet</li> <!-- /TMPL_IF --> 
61                         <!-- TMPL_IF NAME="LINKEDISSUES" --> <li>The subscription has linked issues</li> <!-- /TMPL_IF -->
62                         <!-- TMPL_IF NAME="LINKEDITEMS" --> <li>The subscription has linked items<br /> Those items won't be deleted</li> <!-- /TMPL_IF -->
63                         </ul>
64                         <form method="post" action="/cgi-bin/koha/serials/subscription-detail.pl">
65                         <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->" />
66                         <input type="hidden" name="issueconfirmed" value="1" />
67                         <input type="hidden" name="op" value="del" />
68                         <input type="submit" class="approve" value="Yes, Delete (Y)" accesskey="y" />
69                         </form>
70                         <form method="get" action="/cgi-bin/koha/serials/subscription-detail.pl">
71                         <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->" />
72                         <input type="submit" class="deny" value="No, Don't Delete (N)" accesskey="n" />
73                         </form>
74
75         </div>
76         <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
77
78  
79     <div id="subscription_info">
80         <h2>Subscription information</h2>
81                 <ul>
82                 <li><span class="label">Subscription ID: </span><!--TMPL_VAR name="subscriptionid"--></li>
83         <li><span class="label">Librarian identity:</span> <!-- TMPL_VAR name="librarian" --></li>
84         <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR name="aqbooksellerid"-->"><!-- TMPL_VAR name="aqbooksellername" -->&nbsp;</a></li>
85         <li><span class="label">Biblio:</span> <i>(<!-- TMPL_VAR name="bibnum" -->)</i> <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="bibnum" -->"><!-- TMPL_VAR name="bibliotitle" --></a></li>
86 <!-- TMPL_IF name="branchcode" --><li><span class="label">Library:</span> <!-- TMPL_VAR name="branchcode" -->&nbsp;</li><!-- /TMPL_IF -->
87         <!-- TMPL_IF name="serialsadditems" -->
88             <li>Serial receipt creates an item record.</li>
89         <!-- TMPL_ELSE -->
90             <li>Serial receipt does not create an item record.</li>
91         <!-- /TMPL_IF -->
92         <li><span class="label">Grace period:</span> <!-- TMPL_VAR name="graceperiod" -->&nbsp;</li>
93         <!-- TMPL_IF name="location" --><li><span class="label">Location:</span> <!-- TMPL_VAR name="location" -->&nbsp;</li><!-- /TMPL_IF -->
94         <!-- TMPL_IF name="callnumber" --><li><span class="label">Call Number:</span> <!-- TMPL_VAR name="callnumber" -->&nbsp;</li><!-- /TMPL_IF -->
95                 <!-- TMPL_IF NAME="staffdisplaycount" --><li><span class="label">Number of issues to display to staff</span>:&nbsp;<!-- TMPL_VAR NAME="staffdisplaycount" -->&nbsp;</li><!-- /TMPL_IF -->
96                 <!-- TMPL_IF NAME="opacdisplaycount" --><li><span class="label">Number of issues to display to the public</span>:&nbsp;<!-- TMPL_VAR NAME="opacdisplaycount" -->&nbsp;</li><!-- /TMPL_IF -->
97         <!-- TMPL_IF name="letter" --><li><span class="label">Patron alert with:</span> <!-- TMPL_VAR name="letter" -->&nbsp;</li><!-- /TMPL_IF -->
98         <!-- TMPL_IF name="notes" --><li><span class="label">Notes:</span> <!-- TMPL_VAR name="notes" --></li><!-- /TMPL_IF -->
99         <!-- TMPL_IF name="hasRouting" --><li><span class="label">Routing:</span> yes</li><!-- /TMPL_IF -->
100         <!-- TMPL_IF name="internalnotes" --><li><span class="label">Management Notes:</span> <!-- TMPL_VAR name="internalnotes" --></li><!-- /TMPL_IF -->
101      </ul>
102     </div>
103     <div id="subscription_planning">
104         <h2>Planning</h2>
105             <p><label>Beginning date:</label> <!-- TMPL_VAR name="startdate" -->
106             </p>
107             <p><label>Frequency (*):</label>
108                 <!--TMPL_IF name="periodicity16" -->
109                         Without regularity
110                 <!-- /TMPL_IF -->
111                 <!--TMPL_IF name="periodicity32" -->
112                         Irregular
113                 <!-- /TMPL_IF -->
114                 <!--TMPL_IF name="periodicity0" -->
115                         Unknown
116                 <!-- /TMPL_IF -->
117                 <!--TMPL_IF name="periodicity12" -->
118                         2/day
119                 <!-- /TMPL_IF -->
120                 <!--TMPL_IF name="periodicity1" -->
121                         1/day
122                 <!-- /TMPL_IF -->
123                 <!--TMPL_IF name="periodicity13" -->
124                         3/week
125                 <!-- /TMPL_IF -->
126                 <!--TMPL_IF name="periodicity2" -->
127                         1/week
128                 <!-- /TMPL_IF -->
129                 <!--TMPL_IF name="periodicity3" -->
130                         1/2 weeks
131                 <!-- /TMPL_IF -->
132                 <!--TMPL_IF name="periodicity4" -->
133                         1/3 weeks
134                 <!-- /TMPL_IF -->
135                 <!--TMPL_IF name="periodicity5" -->
136                         1/Month
137                 <!-- /TMPL_IF -->
138                 <!--TMPL_IF name="periodicity6" -->
139                         1/2 Months (6/year)
140                 <!-- /TMPL_IF -->
141                 <!--TMPL_IF name="periodicity7" -->
142                         1/quarter
143                 <!-- /TMPL_IF -->
144                 <!--TMPL_IF name="periodicity8" -->
145                         1/quarter
146                 <!-- /TMPL_IF -->
147                 <!--TMPL_IF name="periodicity9" -->
148                         2/year
149                 <!-- /TMPL_IF -->
150                 <!--TMPL_IF name="periodicity10" -->
151                         1/year
152                 <!-- /TMPL_IF -->
153                 <!--TMPL_IF name="periodicity11" -->
154                         1/2 years
155                 <!-- /TMPL_IF -->
156               Manual history :
157                 <!--TMPL_IF Name="manualhistory"-->
158                     <input type="checkbox" checked="checked" disabled="disabled" />
159                 <!-- TMPL_ELSE -->
160                     <input type="checkbox" disabled="disabled" />
161                 <!--/TMPL_IF-->
162             </p>
163             <p><label>Number pattern:</label>
164                 <!-- TMPL_IF name="numberpattern1" -->
165                     Number only
166                 <!-- /TMPL_IF -->
167                 <!-- TMPL_IF name="numberpattern2" -->
168                     Volume, Number, Issue
169                 <!-- /TMPL_IF -->
170                 <!-- TMPL_IF name="numberpattern3" -->
171                     Volume, Number
172                 <!-- /TMPL_IF -->
173                 <!-- TMPL_IF name="numberpattern4" -->
174                     Volume, Issue
175                 <!-- /TMPL_IF -->
176                 <!-- TMPL_IF name="numberpattern5" -->
177                     Number, Issue
178                 <!-- /TMPL_IF -->
179                 <!-- TMPL_IF name="numberpattern8" -->
180                     Year/Number
181                 <!-- /TMPL_IF -->
182                 <!-- TMPL_IF name="numberpattern6" -->
183                     Seasonal only
184                 <!-- /TMPL_IF -->
185                 <!-- TMPL_IF name="numberpattern7" -->
186                     None of the above
187                 <!-- /TMPL_IF -->
188             </p>
189             <table>
190             <tr><td><p>Starting with:</p></td>
191                 <td align="center"><!--TMPL_VAR NAME="lastvalue1"--></td>
192             <!--TMPL_IF NAME="lastvalue2"-->
193                 <td align="center">&nbsp; 
194                     <!--TMPL_VAR NAME="lastvalue2"-->
195                 </td>
196             <!--/TMPL_IF-->
197             <!--TMPL_IF NAME="lastvalue3"-->
198                 <td align="center">&nbsp; 
199                     <!--TMPL_VAR NAME="lastvalue3"-->
200                 </td>
201             <!--/TMPL_IF-->
202             </tr>
203             <tr><td><p>Rollover:</p></td>
204                 <td align="center"><!--TMPL_VAR NAME="whenmorethan1"--></td>
205             <!--TMPL_IF NAME="whenmorethan2"-->
206                 <td align="center">&nbsp; 
207                     <!--TMPL_VAR NAME="whenmorethan2"-->
208                 </td>
209             <!--/TMPL_IF-->
210             <!--TMPL_IF NAME="whenmorethan3"-->
211                 <td align="center">&nbsp; 
212                     <!--TMPL_VAR NAME="whenmorethan3"-->
213                 </td>
214             <!--/TMPL_IF-->
215             </tr>
216             </table>
217             <!-- TMPL_IF NAME="irregular_issues" -->
218             <p><label>Irregularity:</label> <!-- TMPL_VAR name="irregular_issues" --> issues
219             </p>
220             <!-- /TMPL_IF -->
221             <p><label>First arrival:</label> <!--TMPL_VAR name="firstacquidate" -->
222             </p>
223         <!-- TMPL_IF name="numberlength" --><p><label>Number of issues:</label> <!-- TMPL_VAR name="numberlength" --></p><!-- /TMPL_IF -->
224         <!-- TMPL_IF name="weeklength" --><p><label>Number of weeks:</label> <!-- TMPL_VAR name="weeklength" --></p><!-- /TMPL_IF -->
225         <!-- TMPL_IF name="monthlength" --><p><label>Number of months:</label> <!-- TMPL_VAR name="monthlength" --></p><!-- /TMPL_IF -->
226     </div>
227     <div id="subscription_numbering" style="display:none;">
228         <h3>Numbering calculation</h3>
229         <p><label>Numbering formula:</label> <!-- TMPL_VAR name="numberingmethod" --></p>
230         <table>
231             <tr>
232                 <th>&nbsp;</th>
233                 <th>X</th>
234                 <th>Y</th>
235                 <th>Z</th>
236                 </tr>
237                 <tr>
238                     <td>Add</td>
239                     <td>
240                         <!-- TMPL_VAR name="add1" -->
241                     </td>
242                     <td>
243                         <!-- TMPL_VAR name="add2" -->
244                     </td>
245                     <td>
246                         <!-- TMPL_VAR name="add3" -->
247                     </td>
248                 </tr>
249                 <tr>
250                     <td>once every</td>
251                     <td><!-- TMPL_VAR name="every1" --></td>
252                     <td><!-- TMPL_VAR name="every2" --></td>
253                     <td><!-- TMPL_VAR name="every3" --></td>
254                 </tr>
255                 <tr>
256                     <td>When more than</td>
257                     <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br />
258                         <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
259                     <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br />
260                         <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
261                     <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br />
262                         <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
263                 </tr>
264                 <tr>
265                     <td>Set back to</td>
266                     <td><!-- TMPL_VAR name="setto1" --></td>
267                     <td><!-- TMPL_VAR name="setto2" --></td>
268                     <td><!-- TMPL_VAR name="setto3" --></td>
269                 </tr>
270                 <tr>
271                     <td>
272                             Inner Counter
273                     </td>
274                     <td><!-- TMPL_VAR name="innerloop1" --></td>
275                     <td><!-- TMPL_VAR name="innerloop2" --></td>
276                     <td><!-- TMPL_VAR name="innerloop3" --></td>
277                 </tr>
278                 <tr>
279                     <td>
280                             Last value
281                     </td>
282                     <td><!-- TMPL_VAR name="lastvalue1" --></td>
283                     <td><!-- TMPL_VAR name="lastvalue2" --></td>
284                     <td><!-- TMPL_VAR name="lastvalue3" --></td>
285                 </tr>
286             </table>
287     </div>
288     <div id="subscription_issues">
289         <h2>Serial issues</h2>
290         <table>
291         <tr>
292             <th>Issue number</th>
293             <th>Planned date</th>
294             <th>Published date</th>
295             <th>Status</th>
296         </tr>
297         <!-- TMPL_LOOP name="serialslist" -->
298             <tr>
299                 <td>
300                     <!-- TMPL_VAR name="serialseq" -->
301                 </td>
302                 <td>
303                     <!-- TMPL_VAR name="planneddate" -->
304                 </td>
305                 <td>
306                     <!-- TMPL_VAR name="publisheddate" -->
307                 </td>
308                 <td>
309                         <!--TMPL_IF name="status1" -->
310                             Expected
311                         <!-- /TMPL_IF -->
312                         <!--TMPL_IF name="status2" -->
313                             Arrived
314                         <!-- /TMPL_IF -->
315                         <!--TMPL_IF name="status3" -->
316                             Late
317                         <!-- /TMPL_IF -->
318                         <!--TMPL_IF name="status4" -->
319                             Missing
320                         <!-- /TMPL_IF -->
321                         <!-- TMPL_IF name="status7" -->
322                             Claimed
323                              <!-- TMPL_IF name="claimdate" -->
324                              <!-- TMPL_VAR NAME="claimdate" -->
325                              <!-- /TMPL_IF -->
326                         <!-- /TMPL_IF -->
327                 </td>
328             </tr>
329         <!-- /TMPL_LOOP -->
330         </table>
331     </div>
332     <div id="subscription_summary">
333         <h2>Subscription summary</h2>
334         <table cellpadding="0" cellspacing="0">
335             <tr>
336                 <td><label>Start date</label></td>
337                 <td> <!-- TMPL_VAR name="startdate" --> </td>
338             </tr>
339             <tr>
340                 <td><label>End date</label></td>
341                 <td> <!-- TMPL_VAR name="enddate" --></td>
342             </tr>
343             <tr>
344                 <td><label>History start date</label></td>
345                 <td> <!-- TMPL_VAR name="histstartdate" --> </td>
346             </tr>
347             <tr>
348                 <td><label>History end date</label></td>
349                 <td> <!-- TMPL_VAR name="histenddate" --></td>
350             </tr>
351             <tr><td><label>Received issues</label></td><td><!-- TMPL_VAR name="recievedlist" --></td></tr>
352             <tr><td><label>Missing issues</label></td><td><!-- TMPL_VAR name="missinglist" --></td></tr>
353             <tr><td><label>Nonpublic note</label></td><td><!-- TMPL_VAR name="librariannote" --></td></tr>
354             <tr><td><label>Public note</label></td><td><!-- TMPL_VAR name="opacnote" --></td></tr>
355         </table>
356     </div>
357
358 </div>
359 </div>
360
361 <div class="yui-b">
362 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
363 </div>
364 </div>
365 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->