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