MT 1902, Follow-up
[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                         </ul>
63                         <form method="post" action="/cgi-bin/koha/serials/subscription-detail.pl">
64                         <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->" />
65                         <input type="hidden" name="issueconfirmed" value="1" />
66                         <input type="hidden" name="op" value="del" />
67                         <input type="submit" class="approve" value="Yes, Delete (Y)" accesskey="y" />
68                         </form>
69                         <form method="get" action="/cgi-bin/koha/serials/subscription-detail.pl">
70                         <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->" />
71                         <input type="submit" class="deny" value="No, Don't Delete (N)" accesskey="n" />
72                         </form>
73
74         </div>
75         <!-- /TMPL_IF --> <!-- NEEDSCONFIRMATION -->
76
77  
78     <div id="subscription_info">
79         <h2>Subscription information</h2>
80                 <ul>
81                 <li><span class="label">Subscription ID: </span><!--TMPL_VAR name="subscriptionid"--></li>
82         <li><span class="label">Librarian identity:</span> <!-- TMPL_VAR name="librarian" --></li>
83         <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>
84         <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>
85 <!-- TMPL_IF name="branchcode" --><li><span class="label">Library:</span> <!-- TMPL_VAR name="branchcode" -->&nbsp;</li><!-- /TMPL_IF -->
86         <!-- TMPL_IF name="serialsadditems" -->
87             <li>Serial receipt creates an item record.</li>
88         <!-- TMPL_ELSE -->
89             <li>Serial receipt does not create an item record.</li>
90         <!-- /TMPL_IF -->
91         <li><span class="label">Grace period:</span> <!-- TMPL_VAR name="graceperiod" -->&nbsp;</li>
92         <!-- TMPL_IF name="location" --><li><span class="label">Location:</span> <!-- TMPL_VAR name="location" -->&nbsp;</li><!-- /TMPL_IF -->
93         <!-- TMPL_IF name="callnumber" --><li><span class="label">Call Number:</span> <!-- TMPL_VAR name="callnumber" -->&nbsp;</li><!-- /TMPL_IF -->
94                 <!-- 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 -->
95                 <!-- 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 -->
96         <!-- TMPL_IF name="letter" --><li><span class="label">Patron alert with:</span> <!-- TMPL_VAR name="letter" -->&nbsp;</li><!-- /TMPL_IF -->
97         <!-- TMPL_IF name="notes" --><li><span class="label">Notes:</span> <!-- TMPL_VAR name="notes" --></li><!-- /TMPL_IF -->
98         <!-- TMPL_IF name="hasRouting" --><li><span class="label">Routing:</span> yes</li><!-- /TMPL_IF -->
99         <!-- TMPL_IF name="internalnotes" --><li><span class="label">Management Notes:</span> <!-- TMPL_VAR name="internalnotes" --></li><!-- /TMPL_IF -->
100      </ul>
101     </div>
102     <div id="subscription_planning">
103         <h2>Planning</h2>
104             <p><label>Beginning date:</label> <!-- TMPL_VAR name="startdate" -->
105             </p>
106             <p><label>Frequency (*):</label>
107                 <!--TMPL_IF name="periodicity16" -->
108                         Without regularity
109                 <!-- /TMPL_IF -->
110                 <!--TMPL_IF name="periodicity32" -->
111                         Irregular
112                 <!-- /TMPL_IF -->
113                 <!--TMPL_IF name="periodicity0" -->
114                         Unknown
115                 <!-- /TMPL_IF -->
116                 <!--TMPL_IF name="periodicity12" -->
117                         2/day
118                 <!-- /TMPL_IF -->
119                 <!--TMPL_IF name="periodicity1" -->
120                         1/day
121                 <!-- /TMPL_IF -->
122                 <!--TMPL_IF name="periodicity13" -->
123                         3/week
124                 <!-- /TMPL_IF -->
125                 <!--TMPL_IF name="periodicity2" -->
126                         1/week
127                 <!-- /TMPL_IF -->
128                 <!--TMPL_IF name="periodicity3" -->
129                         1/2 weeks
130                 <!-- /TMPL_IF -->
131                 <!--TMPL_IF name="periodicity4" -->
132                         1/3 weeks
133                 <!-- /TMPL_IF -->
134                 <!--TMPL_IF name="periodicity5" -->
135                         1/Month
136                 <!-- /TMPL_IF -->
137                 <!--TMPL_IF name="periodicity6" -->
138                         1/2 Months (6/year)
139                 <!-- /TMPL_IF -->
140                 <!--TMPL_IF name="periodicity7" -->
141                         1/quarter
142                 <!-- /TMPL_IF -->
143                 <!--TMPL_IF name="periodicity8" -->
144                         1/quarter
145                 <!-- /TMPL_IF -->
146                 <!--TMPL_IF name="periodicity9" -->
147                         2/year
148                 <!-- /TMPL_IF -->
149                 <!--TMPL_IF name="periodicity10" -->
150                         1/year
151                 <!-- /TMPL_IF -->
152                 <!--TMPL_IF name="periodicity11" -->
153                         1/2 years
154                 <!-- /TMPL_IF -->
155               Manual history :
156                 <!--TMPL_IF Name="manualhistory"-->
157                     <input type="checkbox" checked="checked" disabled="disabled" />
158                 <!-- TMPL_ELSE -->
159                     <input type="checkbox" disabled="disabled" />
160                 <!--/TMPL_IF-->
161             </p>
162             <p><label>Number pattern:</label>
163                 <!-- TMPL_IF name="numberpattern1" -->
164                     Number only
165                 <!-- /TMPL_IF -->
166                 <!-- TMPL_IF name="numberpattern2" -->
167                     Volume, Number, Issue
168                 <!-- /TMPL_IF -->
169                 <!-- TMPL_IF name="numberpattern3" -->
170                     Volume, Number
171                 <!-- /TMPL_IF -->
172                 <!-- TMPL_IF name="numberpattern4" -->
173                     Volume, Issue
174                 <!-- /TMPL_IF -->
175                 <!-- TMPL_IF name="numberpattern5" -->
176                     Number, Issue
177                 <!-- /TMPL_IF -->
178                 <!-- TMPL_IF name="numberpattern8" -->
179                     Year/Number
180                 <!-- /TMPL_IF -->
181                 <!-- TMPL_IF name="numberpattern6" -->
182                     Seasonal only
183                 <!-- /TMPL_IF -->
184                 <!-- TMPL_IF name="numberpattern7" -->
185                     None of the above
186                 <!-- /TMPL_IF -->
187             </p>
188             <table>
189             <tr><td><p>Starting with:</p></td>
190                 <td align="center"><!--TMPL_VAR NAME="lastvalue1"--></td>
191             <!--TMPL_IF NAME="lastvalue2"-->
192                 <td align="center">&nbsp; 
193                     <!--TMPL_VAR NAME="lastvalue2"-->
194                 </td>
195             <!--/TMPL_IF-->
196             <!--TMPL_IF NAME="lastvalue3"-->
197                 <td align="center">&nbsp; 
198                     <!--TMPL_VAR NAME="lastvalue3"-->
199                 </td>
200             <!--/TMPL_IF-->
201             </tr>
202             <tr><td><p>Rollover:</p></td>
203                 <td align="center"><!--TMPL_VAR NAME="whenmorethan1"--></td>
204             <!--TMPL_IF NAME="whenmorethan2"-->
205                 <td align="center">&nbsp; 
206                     <!--TMPL_VAR NAME="whenmorethan2"-->
207                 </td>
208             <!--/TMPL_IF-->
209             <!--TMPL_IF NAME="whenmorethan3"-->
210                 <td align="center">&nbsp; 
211                     <!--TMPL_VAR NAME="whenmorethan3"-->
212                 </td>
213             <!--/TMPL_IF-->
214             </tr>
215             </table>
216             <!-- TMPL_IF NAME="irregular_issues" -->
217             <p><label>Irregularity:</label> <!-- TMPL_VAR name="irregular_issues" --> issues
218             </p>
219             <!-- /TMPL_IF -->
220             <p><label>First arrival:</label> <!--TMPL_VAR name="firstacquidate" -->
221             </p>
222         <!-- TMPL_IF name="numberlength" --><p><label>Number of issues:</label> <!-- TMPL_VAR name="numberlength" --></p><!-- /TMPL_IF -->
223         <!-- TMPL_IF name="weeklength" --><p><label>Number of weeks:</label> <!-- TMPL_VAR name="weeklength" --></p><!-- /TMPL_IF -->
224         <!-- TMPL_IF name="monthlength" --><p><label>Number of months:</label> <!-- TMPL_VAR name="monthlength" --></p><!-- /TMPL_IF -->
225     </div>
226     <div id="subscription_numbering" style="display:none;">
227         <h3>Numbering calculation</h3>
228         <p><label>Numbering formula:</label> <!-- TMPL_VAR name="numberingmethod" --></p>
229         <table>
230             <tr>
231                 <th>&nbsp;</th>
232                 <th>X</th>
233                 <th>Y</th>
234                 <th>Z</th>
235                 </tr>
236                 <tr>
237                     <td>Add</td>
238                     <td>
239                         <!-- TMPL_VAR name="add1" -->
240                     </td>
241                     <td>
242                         <!-- TMPL_VAR name="add2" -->
243                     </td>
244                     <td>
245                         <!-- TMPL_VAR name="add3" -->
246                     </td>
247                 </tr>
248                 <tr>
249                     <td>once every</td>
250                     <td><!-- TMPL_VAR name="every1" --></td>
251                     <td><!-- TMPL_VAR name="every2" --></td>
252                     <td><!-- TMPL_VAR name="every3" --></td>
253                 </tr>
254                 <tr>
255                     <td>When more than</td>
256                     <td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br />
257                         <i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
258                     <td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br />
259                         <i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
260                     <td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br />
261                         <i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
262                 </tr>
263                 <tr>
264                     <td>Set back to</td>
265                     <td><!-- TMPL_VAR name="setto1" --></td>
266                     <td><!-- TMPL_VAR name="setto2" --></td>
267                     <td><!-- TMPL_VAR name="setto3" --></td>
268                 </tr>
269                 <tr>
270                     <td>
271                             Inner Counter
272                     </td>
273                     <td><!-- TMPL_VAR name="innerloop1" --></td>
274                     <td><!-- TMPL_VAR name="innerloop2" --></td>
275                     <td><!-- TMPL_VAR name="innerloop3" --></td>
276                 </tr>
277                 <tr>
278                     <td>
279                             Last value
280                     </td>
281                     <td><!-- TMPL_VAR name="lastvalue1" --></td>
282                     <td><!-- TMPL_VAR name="lastvalue2" --></td>
283                     <td><!-- TMPL_VAR name="lastvalue3" --></td>
284                 </tr>
285             </table>
286     </div>
287     <div id="subscription_issues">
288         <h2>Serial issues</h2>
289         <table>
290         <tr>
291             <th>Issue number</th>
292             <th>Planned date</th>
293             <th>Published date</th>
294             <th>Status</th>
295         </tr>
296         <!-- TMPL_LOOP name="serialslist" -->
297             <tr>
298                 <td>
299                     <!-- TMPL_VAR name="serialseq" -->
300                 </td>
301                 <td>
302                     <!-- TMPL_VAR name="planneddate" -->
303                 </td>
304                 <td>
305                     <!-- TMPL_VAR name="publisheddate" -->
306                 </td>
307                 <td>
308                         <!--TMPL_IF name="status1" -->
309                             Expected
310                         <!-- /TMPL_IF -->
311                         <!--TMPL_IF name="status2" -->
312                             Arrived
313                         <!-- /TMPL_IF -->
314                         <!--TMPL_IF name="status3" -->
315                             Late
316                         <!-- /TMPL_IF -->
317                         <!--TMPL_IF name="status4" -->
318                             Missing
319                         <!-- /TMPL_IF -->
320                         <!-- TMPL_IF name="status7" -->
321                             Claimed
322                              <!-- TMPL_IF name="claimdate" -->
323                              <!-- TMPL_VAR NAME="claimdate" -->
324                              <!-- /TMPL_IF -->
325                         <!-- /TMPL_IF -->
326                 </td>
327             </tr>
328         <!-- /TMPL_LOOP -->
329         </table>
330     </div>
331     <div id="subscription_summary">
332         <h2>Subscription summary</h2>
333         <table cellpadding="0" cellspacing="0">
334             <tr>
335                 <td><label>Start date</label></td>
336                 <td> <!-- TMPL_VAR name="startdate" --> </td>
337             </tr>
338             <tr>
339                 <td><label>End date</label></td>
340                 <td> <!-- TMPL_VAR name="enddate" --></td>
341             </tr>
342             <tr>
343                 <td><label>History start date</label></td>
344                 <td> <!-- TMPL_VAR name="histstartdate" --> </td>
345             </tr>
346             <tr>
347                 <td><label>History end date</label></td>
348                 <td> <!-- TMPL_VAR name="histenddate" --></td>
349             </tr>
350             <tr><td><label>Received issues</label></td><td><!-- TMPL_VAR name="recievedlist" --></td></tr>
351             <tr><td><label>Missing issues</label></td><td><!-- TMPL_VAR name="missinglist" --></td></tr>
352             <tr><td><label>Nonpublic note</label></td><td><!-- TMPL_VAR name="librariannote" --></td></tr>
353             <tr><td><label>Public note</label></td><td><!-- TMPL_VAR name="opacnote" --></td></tr>
354         </table>
355     </div>
356
357 </div>
358 </div>
359
360 <div class="yui-b">
361 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
362 </div>
363 </div>
364 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->