1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Serials › Details for subscription #[% subscriptionid %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
6 // the english words used in display purposes
7 var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern",
8 "Autumn"),_("Winter"),_("Spring"),_("Summer"),_("Fall"),_("Season"),_("Year"));
11 // to display the options section
12 function options(x,y,z){
14 // alert("X: "+x+"Y: "+y+"Z: "+z);
16 document.f.xfield.value = x;
18 document.f.yfield.value = y;
20 document.f.zfield.value = z;
26 function confirm_deletion() {
27 var is_confirmed = confirm(_("Are you sure you want to delete this subscription?"));
29 window.location="subscription-detail.pl?subscriptionid=[% subscriptionid %]&op=del";
32 function popup(subscriptionid) {
33 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes');
35 $(document).ready(function() {
36 $("#subscription_description").tabs();
37 $("#renewsub").click(function(){
38 popup([% subscriptionid %]);
45 <body id="ser_subscription-detail" class="ser">
46 [% INCLUDE 'header.inc' %]
47 [% INCLUDE 'serials-search.inc' %]
49 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Details for subscription #[% subscriptionid %]</div>
51 <div id="doc3" class="yui-t2">
56 [% INCLUDE 'serials-toolbar.inc' %]
58 <h1>Subscription for [% bibliotitle%] [% IF closed %](closed)[% END %]</h1>
59 [% IF ( abouttoexpire ) %]
61 <div class="dialog message">Subscription will expire [% enddate %]. <a href="#" id="renewsub">Renew this subscription</a>.</div>
64 [% IF ( NEEDSCONFIRMATION ) %]
65 <div id="circ_needsconfirmation" class="dialog alert">
66 <h3>Please Confirm Subscription deletion</h3>
69 [% IF ( NOTEXPIRED ) %] <li>The subscription has not expired yet</li> [% END %]
70 [% IF ( LINKEDISSUES ) %] <li>The subscription has linked issues</li> [% END %]
71 [% IF ( LINKEDITEMS ) %] <li>The subscription has linked items<br /> Those items won't be deleted</li> [% END %]
73 <form method="post" action="/cgi-bin/koha/serials/subscription-detail.pl">
74 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
75 <input type="hidden" name="issueconfirmed" value="1" />
76 <input type="hidden" name="op" value="del" />
77 <input type="submit" class="approve" value="Yes, delete (Y)" accesskey="y" />
79 <form method="get" action="/cgi-bin/koha/serials/subscription-detail.pl">
80 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
81 <input type="submit" class="deny" value="No, don't delete (N)" accesskey="n" />
85 [% END %] <!-- NEEDSCONFIRMATION -->
87 <div id="subscription_description" class="toptabs">
88 <ul class="ui-tabs-nav">
89 <li><a href="#subscription_info">Information</a></li>
90 <li><a href="#subscription_planning">Planning</a></li>
91 <li><a href="#subscription_issues">Issues</a></li>
92 <li><a href="#subscription_summary">Summary</a></li>
95 <div id="subscription_info">
97 <div class="yui-u first">
100 <li><span class="label">Subscription ID: </span>[% subscriptionid %]</li>
101 <li><span class="label">Librarian identity:</span> [% librarian %]</li>
102 <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% aqbooksellerid %]">[% aqbooksellername %]</a></li>
103 <li><span class="label">Biblio:</span> <a href="/cgi-bin/koha/catalogue/[% default_bib_view %].pl?biblionumber=[% bibnum %]">[% bibliotitle %]</a> <i>([% bibnum %])</i></li>
104 [% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchcode %]</li>[% END %]
105 [% IF ( serialsadditems ) %]
106 <li><span class="label">Items:</span> Serial receipt creates an item record.</li>
108 <li><span class="label">Items:</span> Serial receipt does not create an item record.</li>
110 <li><span class="label">Grace period:</span> [% graceperiod %]</li>
117 [% IF ( location ) %]<li><span class="label">Location:</span> [% location %]</li>[% END %]
118 [% IF ( callnumber ) %]<li><span class="label">Call number:</span> [% callnumber %]</li>[% END %]
119 [% IF ( staffdisplaycount ) %]<li><span class="label">Number of issues to display to staff:</span>[% staffdisplaycount %]</li>[% END %]
120 [% IF ( opacdisplaycount ) %]<li><span class="label">Number of issues to display in OPAC:</span>[% opacdisplaycount %]</li>[% END %]
123 <span class="label">Patron notification:</span> [% letter %]
124 (<a href="/cgi-bin/koha/serials/viewalerts.pl?subscriptionid=[% subscriptionid %]">subscribers</a>)
127 [% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
133 [% IF ( show_acquisition_details ) %]
134 <div id="acquisition_details">
135 <h2>Acquisition details</h2>
138 <tr><th></th><th>Price exc. taxes</th><th>Price inc. taxes</th><th>fund</th><th></th></tr>
142 <td>Ordered amount</td>
143 <td>[% valuegste_ordered %]</td>
144 <td>[% valuegsti_ordered %]</td>
145 <td>[% budget_name_ordered %]</td>
147 [% IF ( ordered_exists ) %]
148 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">See basket informations</a>
153 <td>Spent amount</td>
154 <td>[% valuegste_spent %]</td>
155 <td>[% valuegsti_spent %]</td>
156 <td>[% budget_name_spent %]</td>
158 [% IF ( spent_exists ) %]
159 <a href="/cgi-bin/koha/acqui/invoice.pl?invoicenumber=[% invoicenumber %]">See invoice informations</a>
167 <div id="subscription_planning">
171 <li><span class="label">Beginning date:</span> [% startdate %]
173 <li><span class="label">Frequency (*):</span>
174 [% IF ( periodicity16 ) %]
177 [% IF ( periodicity32 ) %]
180 [% IF ( periodicity0 ) %]
183 [% IF ( periodicity12 ) %]
186 [% IF ( periodicity1 ) %]
189 [% IF ( periodicity13 ) %]
192 [% IF ( periodicity2 ) %]
195 [% IF ( periodicity3 ) %]
198 [% IF ( periodicity4 ) %]
201 [% IF ( periodicity5 ) %]
204 [% IF ( periodicity6 ) %]
207 [% IF ( periodicity7 ) %]
210 [% IF ( periodicity8 ) %]
213 [% IF ( periodicity9 ) %]
216 [% IF ( periodicity10 ) %]
219 [% IF ( periodicity11 ) %]
224 <span class="label">Manual history: </span>
225 [% IF ( manualhistory ) %]
231 <li><span class="label">Number pattern:</span>
232 [% IF ( numberpattern1 ) %]
235 [% IF ( numberpattern2 ) %]
236 Volume, number, issue
238 [% IF ( numberpattern3 ) %]
241 [% IF ( numberpattern4 ) %]
244 [% IF ( numberpattern5 ) %]
247 [% IF ( numberpattern8 ) %]
250 [% IF ( numberpattern6 ) %]
253 [% IF ( numberpattern7 ) %]
258 <tr><td>Starting with:</td>
259 <td align="center">[% lastvalue1 %]</td>
260 [% IF ( lastvalue2 ) %]
261 <td align="center">
265 [% IF ( lastvalue3 ) %]
266 <td align="center">
271 <tr><td>Rollover:</td>
273 [% IF ( whenmorethan1 < 9999999 ) %][% whenmorethan1 %][% ELSE %]Never[% END %]
275 [% IF ( whenmorethan2 ) %]
276 <td align="center">
277 [% IF ( whenmorethan2 < 9999999 ) %][% whenmorethan2 %][% ELSE %]Never[% END %]
280 [% IF ( whenmorethan3 ) %]
281 <td align="center">
282 [% IF ( whenmorethan3 < 9999999 ) %][% whenmorethan3 %][% ELSE %]Never[% END %]
287 [% IF ( irregular_issues ) %]
288 <li><span class="label">Irregularity:</span> [% irregular_issues %] issues
291 <li><span class="label">First arrival:</span> [% firstacquidate %]
293 [% IF ( numberlength ) %]<li><span class="label">Number of issues:</span> [% numberlength %]</li>[% END %]
294 [% IF ( weeklength ) %]<li><span class="label">Number of weeks:</span> [% weeklength %]</li>[% END %]
295 [% IF ( monthlength ) %]<li><span class="label">Number of months:</span> [% monthlength %]</li>[% END %]
300 <div id="subscription_numbering" style="display:none;">
301 <h3>Numbering calculation</h3>
302 <p><label>Numbering formula:</label> [% numberingmethod %]</p>
324 <td>[% every1 %]</td>
325 <td>[% every2 %]</td>
326 <td>[% every3 %]</td>
329 <td>When more than</td>
330 <td>[% whenmorethan1 %] [% IF ( innerloop1 ) %]<br />
331 <i>(is [% innerloop1 %])</i>[% END %]</td>
332 <td>[% whenmorethan2 %] [% IF ( innerloop2 ) %]<br />
333 <i>(is [% innerloop2 %])</i>[% END %]</td>
334 <td>[% whenmorethan3 %] [% IF ( innerloop3 ) %]<br />
335 <i>(is [% innerloop3 %])</i>[% END %]</td>
339 <td>[% setto1 %]</td>
340 <td>[% setto2 %]</td>
341 <td>[% setto3 %]</td>
347 <td>[% innerloop1 %]</td>
348 <td>[% innerloop2 %]</td>
349 <td>[% innerloop3 %]</td>
355 <td>[% lastvalue1 %]</td>
356 <td>[% lastvalue2 %]</td>
357 <td>[% lastvalue3 %]</td>
361 <div id="subscription_issues">
364 <th>Issue number</th>
365 <th>Planned date</th>
366 <th>Published date</th>
369 [% FOREACH serialslis IN serialslist %]
372 [% serialslis.serialseq %]
375 [% serialslis.planneddate %]
378 [% serialslis.publisheddate %]
381 [% IF ( serialslis.status1 ) %]Expected[% END %]
382 [% IF ( serialslis.status2 ) %]Arrived[% END %]
383 [% IF ( serialslis.status3 ) %]Late[% END %]
384 [% IF ( serialslis.status4 ) %]Missing[% END %]
385 [% IF ( serialslis.status5 ) %]Not issued[% END %]
386 [% IF ( serialslis.status6 ) %]Delete[% END %]
387 [% IF ( serialslis.status7 ) %]
389 [% IF ( serialslis.claimdate ) %]
390 [% serialslis.claimdate %]
393 [% IF ( serialslis.status8 ) %]Stopped[% END %]
399 <div id="subscription_summary">
403 <li><span class="label">Start date:</span> [% startdate %] </li>
404 <li><span class="label">End date:</span> [% enddate %]</li>
405 <li><span class="label">History start date:</span> [% histstartdate %] </li>
406 <li><span class="label">History end date:</span> [% histenddate %]</li>
407 <li><span class="label">Received issues:</span>[% recievedlist %]</li>
408 <li><span class="label">Missing issues:</span>[% missinglist %]</li>
409 <li><span class="label">Nonpublic note:</span>[% internalnotes FILTER html_line_break %]</li>
410 <li><span class="label">Public note:</span>[% notes FILTER html_line_break %]</li>
411 <li><span class="label">History staff note</span>[% librariannote FILTER html_line_break %]</li>
412 <li><span class="label">History OPAC note</span>[% opacnote FILTER html_line_break %]</li>
422 [% INCLUDE 'serials-menu.inc' %]
425 [% INCLUDE 'intranet-bottom.inc' %]