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 %] </h1>
59 [% IF ( abouttoexpire ) %]<div class="dialog message">Subscription will expire [% enddate %]. <a href="#" id="renewsub">Renew this subscription</a>.</div>[% END %]
60 [% IF ( NEEDSCONFIRMATION ) %]
61 <div id="circ_needsconfirmation" class="dialog alert">
62 <h3>Please Confirm Subscription deletion</h3>
65 [% IF ( NOTEXPIRED ) %] <li>The subscription has not expired yet</li> [% END %]
66 [% IF ( LINKEDISSUES ) %] <li>The subscription has linked issues</li> [% END %]
67 [% IF ( LINKEDITEMS ) %] <li>The subscription has linked items<br /> Those items won't be deleted</li> [% END %]
69 <form method="post" action="/cgi-bin/koha/serials/subscription-detail.pl">
70 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
71 <input type="hidden" name="issueconfirmed" value="1" />
72 <input type="hidden" name="op" value="del" />
73 <input type="submit" class="approve" value="Yes, delete (Y)" accesskey="y" />
75 <form method="get" action="/cgi-bin/koha/serials/subscription-detail.pl">
76 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
77 <input type="submit" class="deny" value="No, don't delete (N)" accesskey="n" />
81 [% END %] <!-- NEEDSCONFIRMATION -->
83 <div id="subscription_description" class="toptabs">
84 <ul class="ui-tabs-nav">
85 <li><a href="#subscription_info">Information</a></li>
86 <li><a href="#subscription_planning">Planning</a></li>
87 <li><a href="#subscription_issues">Issues</a></li>
88 <li><a href="#subscription_summary">Summary</a></li>
91 <div id="subscription_info">
93 <div class="yui-u first">
96 <li><span class="label">Subscription ID: </span>[% subscriptionid %]</li>
97 <li><span class="label">Librarian identity:</span> [% librarian %]</li>
98 <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% aqbooksellerid %]">[% aqbooksellername %]</a></li>
99 <li><span class="label">Biblio:</span> <a href="/cgi-bin/koha/catalogue/[% default_bib_view %].pl?biblionumber=[% bibnum %]">[% bibliotitle %]</a> <i>([% bibnum %])</i></li>
100 [% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchcode %]</li>[% END %]
101 [% IF ( serialsadditems ) %]
102 <li><span class="label">Items:</span> Serial receipt creates an item record.</li>
104 <li><span class="label">Items:</span> Serial receipt does not create an item record.</li>
106 <li><span class="label">Grace period:</span> [% graceperiod %]</li>
113 [% IF ( location ) %]<li><span class="label">Location:</span> [% location %]</li>[% END %]
114 [% IF ( callnumber ) %]<li><span class="label">Call number:</span> [% callnumber %]</li>[% END %]
115 [% IF ( staffdisplaycount ) %]<li><span class="label">Number of issues to display to staff:</span>[% staffdisplaycount %]</li>[% END %]
116 [% IF ( opacdisplaycount ) %]<li><span class="label">Number of issues to display in OPAC:</span>[% opacdisplaycount %]</li>[% END %]
119 <span class="label">Patron notification:</span> [% letter %]
120 (<a href="/cgi-bin/koha/serials/viewalerts.pl?subscriptionid=[% subscriptionid %]">subscribers</a>)
123 [% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
129 [% IF ( show_acquisition_details ) %]
130 <div id="acquisition_details">
131 <h2>Acquisition details</h2>
134 <tr><th></th><th>Price exc. taxes</th><th>Price inc. taxes</th><th>fund</th><th></th></tr>
138 <td>Ordered amount</td>
139 <td>[% valuegste_ordered %]</td>
140 <td>[% valuegsti_ordered %]</td>
141 <td>[% budget_name_ordered %]</td>
143 [% IF ( ordered_exists ) %]
144 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">See basket informations</a>
149 <td>Spent amount</td>
150 <td>[% valuegste_spent %]</td>
151 <td>[% valuegsti_spent %]</td>
152 <td>[% budget_name_spent %]</td>
154 [% IF ( spent_exists ) %]
155 <a href="/cgi-bin/koha/acqui/invoice.pl?invoicenumber=[% invoicenumber %]">See invoice informations</a>
163 <div id="subscription_planning">
167 <li><span class="label">Beginning date:</span> [% startdate %]
169 <li><span class="label">Frequency (*):</span>
170 [% IF ( periodicity16 ) %]
173 [% IF ( periodicity32 ) %]
176 [% IF ( periodicity0 ) %]
179 [% IF ( periodicity12 ) %]
182 [% IF ( periodicity1 ) %]
185 [% IF ( periodicity13 ) %]
188 [% IF ( periodicity2 ) %]
191 [% IF ( periodicity3 ) %]
194 [% IF ( periodicity4 ) %]
197 [% IF ( periodicity5 ) %]
200 [% IF ( periodicity6 ) %]
203 [% IF ( periodicity7 ) %]
206 [% IF ( periodicity8 ) %]
209 [% IF ( periodicity9 ) %]
212 [% IF ( periodicity10 ) %]
215 [% IF ( periodicity11 ) %]
220 <span class="label">Manual history: </span>
221 [% IF ( manualhistory ) %]
227 <li><span class="label">Number pattern:</span>
228 [% IF ( numberpattern1 ) %]
231 [% IF ( numberpattern2 ) %]
232 Volume, number, issue
234 [% IF ( numberpattern3 ) %]
237 [% IF ( numberpattern4 ) %]
240 [% IF ( numberpattern5 ) %]
243 [% IF ( numberpattern8 ) %]
246 [% IF ( numberpattern6 ) %]
249 [% IF ( numberpattern7 ) %]
254 <tr><td>Starting with:</td>
255 <td align="center">[% lastvalue1 %]</td>
256 [% IF ( lastvalue2 ) %]
257 <td align="center">
261 [% IF ( lastvalue3 ) %]
262 <td align="center">
267 <tr><td>Rollover:</td>
269 [% IF ( whenmorethan1 < 9999999 ) %][% whenmorethan1 %][% ELSE %]Never[% END %]
271 [% IF ( whenmorethan2 ) %]
272 <td align="center">
273 [% IF ( whenmorethan2 < 9999999 ) %][% whenmorethan2 %][% ELSE %]Never[% END %]
276 [% IF ( whenmorethan3 ) %]
277 <td align="center">
278 [% IF ( whenmorethan3 < 9999999 ) %][% whenmorethan3 %][% ELSE %]Never[% END %]
283 [% IF ( irregular_issues ) %]
284 <li><span class="label">Irregularity:</span> [% irregular_issues %] issues
287 <li><span class="label">First arrival:</span> [% firstacquidate %]
289 [% IF ( numberlength ) %]<li><span class="label">Number of issues:</span> [% numberlength %]</li>[% END %]
290 [% IF ( weeklength ) %]<li><span class="label">Number of weeks:</span> [% weeklength %]</li>[% END %]
291 [% IF ( monthlength ) %]<li><span class="label">Number of months:</span> [% monthlength %]</li>[% END %]
296 <div id="subscription_numbering" style="display:none;">
297 <h3>Numbering calculation</h3>
298 <p><label>Numbering formula:</label> [% numberingmethod %]</p>
320 <td>[% every1 %]</td>
321 <td>[% every2 %]</td>
322 <td>[% every3 %]</td>
325 <td>When more than</td>
326 <td>[% whenmorethan1 %] [% IF ( innerloop1 ) %]<br />
327 <i>(is [% innerloop1 %])</i>[% END %]</td>
328 <td>[% whenmorethan2 %] [% IF ( innerloop2 ) %]<br />
329 <i>(is [% innerloop2 %])</i>[% END %]</td>
330 <td>[% whenmorethan3 %] [% IF ( innerloop3 ) %]<br />
331 <i>(is [% innerloop3 %])</i>[% END %]</td>
335 <td>[% setto1 %]</td>
336 <td>[% setto2 %]</td>
337 <td>[% setto3 %]</td>
343 <td>[% innerloop1 %]</td>
344 <td>[% innerloop2 %]</td>
345 <td>[% innerloop3 %]</td>
351 <td>[% lastvalue1 %]</td>
352 <td>[% lastvalue2 %]</td>
353 <td>[% lastvalue3 %]</td>
357 <div id="subscription_issues">
360 <th>Issue number</th>
361 <th>Planned date</th>
362 <th>Published date</th>
365 [% FOREACH serialslis IN serialslist %]
368 [% serialslis.serialseq %]
371 [% serialslis.planneddate %]
374 [% serialslis.publisheddate %]
377 [% IF ( serialslis.status1 ) %]
380 [% IF ( serialslis.status2 ) %]
383 [% IF ( serialslis.status3 ) %]
386 [% IF ( serialslis.status4 ) %]
389 [% IF ( serialslis.status5 ) %]
392 [% IF ( serialslis.status7 ) %]
394 [% IF ( serialslis.claimdate ) %]
395 [% serialslis.claimdate %]
403 <div id="subscription_summary">
407 <li><span class="label">Start date:</span> [% startdate %] </li>
408 <li><span class="label">End date:</span> [% enddate %]</li>
409 <li><span class="label">History start date:</span> [% histstartdate %] </li>
410 <li><span class="label">History end date:</span> [% histenddate %]</li>
411 <li><span class="label">Received issues:</span>[% recievedlist %]</li>
412 <li><span class="label">Missing issues:</span>[% missinglist %]</li>
413 <li><span class="label">Nonpublic note:</span>[% internalnotes FILTER html_line_break %]</li>
414 <li><span class="label">Public note:</span>[% notes FILTER html_line_break %]</li>
415 <li><span class="label">History staff note</span>[% librariannote FILTER html_line_break %]</li>
416 <li><span class="label">History OPAC note</span>[% opacnote FILTER html_line_break %]</li>
426 [% INCLUDE 'serials-menu.inc' %]
429 [% INCLUDE 'intranet-bottom.inc' %]