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