1 [% USE KohaBranchName %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Serials › Details for subscription #[% subscriptionid %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript">
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"));
12 // to display the options section
13 function options(x,y,z){
15 // alert("X: "+x+"Y: "+y+"Z: "+z);
17 document.f.xfield.value = x;
19 document.f.yfield.value = y;
21 document.f.zfield.value = z;
27 function confirm_deletion() {
28 var is_confirmed = confirm(_("Are you sure you want to delete this subscription?"));
30 window.location="subscription-detail.pl?subscriptionid=[% subscriptionid %]&op=del";
33 function popup(subscriptionid) {
34 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes');
36 $(document).ready(function() {
37 $("#subscription_description").tabs();
38 $("#renewsub").click(function(){
39 popup([% subscriptionid %]);
46 <body id="ser_subscription-detail" class="ser">
47 [% INCLUDE 'header.inc' %]
48 [% INCLUDE 'serials-search.inc' %]
50 <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>
52 <div id="doc3" class="yui-t2">
57 [% INCLUDE 'serials-toolbar.inc' %]
59 <h1>Subscription for [% bibliotitle%] [% IF closed %](closed)[% END %]</h1>
60 [% IF ( abouttoexpire ) %]
62 <div class="dialog message">Subscription will expire [% enddate %]. <a href="#" id="renewsub">Renew this subscription</a>.</div>
65 [% IF ( NEEDSCONFIRMATION ) %]
66 <div id="circ_needsconfirmation" class="dialog alert">
67 <h3>Please Confirm Subscription deletion</h3>
70 [% IF ( NOTEXPIRED ) %] <li>The subscription has not expired yet</li> [% END %]
71 [% IF ( LINKEDISSUES ) %] <li>The subscription has linked issues</li> [% END %]
72 [% IF ( LINKEDITEMS ) %] <li>The subscription has linked items<br /> Those items won't be deleted</li> [% END %]
74 <form method="post" action="/cgi-bin/koha/serials/subscription-detail.pl">
75 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
76 <input type="hidden" name="issueconfirmed" value="1" />
77 <input type="hidden" name="op" value="del" />
78 <input type="submit" class="approve" value="Yes, delete (Y)" accesskey="y" />
80 <form method="get" action="/cgi-bin/koha/serials/subscription-detail.pl">
81 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
82 <input type="submit" class="deny" value="No, don't delete (N)" accesskey="n" />
86 [% END %] <!-- NEEDSCONFIRMATION -->
88 <div id="subscription_description" class="toptabs">
89 <ul class="ui-tabs-nav">
90 <li><a href="#subscription_info">Information</a></li>
91 <li><a href="#subscription_planning">Planning</a></li>
92 <li><a href="#subscription_issues">Issues</a></li>
93 <li><a href="#subscription_summary">Summary</a></li>
96 <div id="subscription_info">
98 <div class="yui-u first">
101 <li><span class="label">Subscription ID: </span>[% subscriptionid %]</li>
102 <li><span class="label">Librarian identity:</span> [% librarian %]</li>
103 <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% aqbooksellerid %]">[% aqbooksellername %]</a></li>
104 <li><span class="label">Biblio:</span> <a href="/cgi-bin/koha/catalogue/[% default_bib_view %].pl?biblionumber=[% bibnum %]">[% bibliotitle %]</a> <i>([% bibnum %])</i></li>
105 [% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchcode | $KohaBranchName %]</li>[% END %]
106 [% IF ( serialsadditems ) %]
107 <li><span class="label">Items:</span> Serial receipt creates an item record.</li>
109 <li><span class="label">Items:</span> Serial receipt does not create an item record.</li>
111 <li><span class="label">Grace period:</span> [% graceperiod %]</li>
118 [% IF ( location ) %]<li><span class="label">Location:</span> [% location %]</li>[% END %]
119 [% IF ( callnumber ) %]<li><span class="label">Call number:</span> [% callnumber %]</li>[% END %]
120 [% IF ( staffdisplaycount ) %]<li><span class="label">Number of issues to display to staff:</span>[% staffdisplaycount %]</li>[% END %]
121 [% IF ( opacdisplaycount ) %]<li><span class="label">Number of issues to display in OPAC:</span>[% opacdisplaycount %]</li>[% END %]
124 <span class="label">Patron notification:</span> [% letter %]
125 (<a href="/cgi-bin/koha/serials/viewalerts.pl?subscriptionid=[% subscriptionid %]">subscribers</a>)
128 [% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
135 <div id="subscription_planning">
139 <li><span class="label">Beginning date:</span> [% startdate %]
141 <li><span class="label">Frequency (*):</span>
142 [% IF ( periodicity16 ) %]
145 [% IF ( periodicity32 ) %]
148 [% IF ( periodicity0 ) %]
151 [% IF ( periodicity12 ) %]
154 [% IF ( periodicity1 ) %]
157 [% IF ( periodicity13 ) %]
160 [% IF ( periodicity2 ) %]
163 [% IF ( periodicity3 ) %]
166 [% IF ( periodicity4 ) %]
169 [% IF ( periodicity5 ) %]
172 [% IF ( periodicity6 ) %]
175 [% IF ( periodicity7 ) %]
178 [% IF ( periodicity8 ) %]
181 [% IF ( periodicity9 ) %]
184 [% IF ( periodicity10 ) %]
187 [% IF ( periodicity11 ) %]
192 <span class="label">Manual history: </span>
193 [% IF ( manualhistory ) %]
199 <li><span class="label">Number pattern:</span>
200 [% IF ( numberpattern1 ) %]
203 [% IF ( numberpattern2 ) %]
204 Volume, number, issue
206 [% IF ( numberpattern3 ) %]
209 [% IF ( numberpattern4 ) %]
212 [% IF ( numberpattern5 ) %]
215 [% IF ( numberpattern8 ) %]
218 [% IF ( numberpattern6 ) %]
221 [% IF ( numberpattern7 ) %]
226 <tr><td>Starting with:</td>
227 <td align="center">[% lastvalue1 %]</td>
228 [% IF ( lastvalue2 ) %]
229 <td align="center">
233 [% IF ( lastvalue3 ) %]
234 <td align="center">
239 <tr><td>Rollover:</td>
241 [% IF ( whenmorethan1 < 9999999 ) %][% whenmorethan1 %][% ELSE %]Never[% END %]
243 [% IF ( whenmorethan2 ) %]
244 <td align="center">
245 [% IF ( whenmorethan2 < 9999999 ) %][% whenmorethan2 %][% ELSE %]Never[% END %]
248 [% IF ( whenmorethan3 ) %]
249 <td align="center">
250 [% IF ( whenmorethan3 < 9999999 ) %][% whenmorethan3 %][% ELSE %]Never[% END %]
255 [% IF ( irregular_issues ) %]
256 <li><span class="label">Irregularity:</span> [% irregular_issues %] issues
259 <li><span class="label">First arrival:</span> [% firstacquidate %]
261 [% IF ( numberlength ) %]<li><span class="label">Number of issues:</span> [% numberlength %]</li>[% END %]
262 [% IF ( weeklength ) %]<li><span class="label">Number of weeks:</span> [% weeklength %]</li>[% END %]
263 [% IF ( monthlength ) %]<li><span class="label">Number of months:</span> [% monthlength %]</li>[% END %]
268 <div id="subscription_numbering" style="display:none;">
269 <h3>Numbering calculation</h3>
270 <p><label>Numbering formula:</label> [% numberingmethod %]</p>
292 <td>[% every1 %]</td>
293 <td>[% every2 %]</td>
294 <td>[% every3 %]</td>
297 <td>When more than</td>
298 <td>[% whenmorethan1 %] [% IF ( innerloop1 ) %]<br />
299 <i>(is [% innerloop1 %])</i>[% END %]</td>
300 <td>[% whenmorethan2 %] [% IF ( innerloop2 ) %]<br />
301 <i>(is [% innerloop2 %])</i>[% END %]</td>
302 <td>[% whenmorethan3 %] [% IF ( innerloop3 ) %]<br />
303 <i>(is [% innerloop3 %])</i>[% END %]</td>
307 <td>[% setto1 %]</td>
308 <td>[% setto2 %]</td>
309 <td>[% setto3 %]</td>
315 <td>[% innerloop1 %]</td>
316 <td>[% innerloop2 %]</td>
317 <td>[% innerloop3 %]</td>
323 <td>[% lastvalue1 %]</td>
324 <td>[% lastvalue2 %]</td>
325 <td>[% lastvalue3 %]</td>
329 <div id="subscription_issues">
332 <th>Issue number</th>
333 <th>Planned date</th>
334 <th>Published date</th>
337 [% FOREACH serialslis IN serialslist %]
340 [% serialslis.serialseq %]
343 [% serialslis.planneddate %]
346 [% serialslis.publisheddate %]
349 [% IF ( serialslis.status1 ) %]Expected[% END %]
350 [% IF ( serialslis.status2 ) %]Arrived[% END %]
351 [% IF ( serialslis.status3 ) %]Late[% END %]
352 [% IF ( serialslis.status4 ) %]Missing[% END %]
353 [% IF ( serialslis.status5 ) %]Not issued[% END %]
354 [% IF ( serialslis.status6 ) %]Delete[% END %]
355 [% IF ( serialslis.status7 ) %]
357 [% IF ( serialslis.claimdate ) %]
358 [% serialslis.claimdate %]
361 [% IF ( serialslis.status8 ) %]Stopped[% END %]
367 <div id="subscription_summary">
371 <li><span class="label">Start date:</span> [% startdate %] </li>
372 <li><span class="label">End date:</span> [% enddate %]</li>
373 <li><span class="label">History start date:</span> [% histstartdate %] </li>
374 <li><span class="label">History end date:</span> [% histenddate %]</li>
375 <li><span class="label">Received issues:</span>[% recievedlist %]</li>
376 <li><span class="label">Missing issues:</span>[% missinglist %]</li>
377 <li><span class="label">Nonpublic note:</span>[% internalnotes FILTER html_line_break %]</li>
378 <li><span class="label">Public note:</span>[% notes FILTER html_line_break %]</li>
379 <li><span class="label">History staff note:</span>[% librariannote FILTER html_line_break %]</li>
380 <li><span class="label">History OPAC note:</span>[% opacnote FILTER html_line_break %]</li>
387 [% IF ( show_acquisition_details ) %]
388 <div id="acquisition_details">
389 <h2>Acquisition details</h2>
392 <tr><th></th><th>Price exc. taxes</th><th>Price inc. taxes</th><th>Fund</th><th></th></tr>
396 <td>Ordered amount</td>
397 <td>[% valuegste_ordered %]</td>
398 <td>[% valuegsti_ordered %]</td>
399 <td>[% budget_name_ordered %]</td>
401 [% IF ( ordered_exists ) %]
402 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">See basket information</a>
407 <td>Spent amount</td>
408 <td>[% valuegste_spent %]</td>
409 <td>[% valuegsti_spent %]</td>
410 <td>[% budget_name_spent %]</td>
412 [% IF ( spent_exists ) %]
413 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoiceid %]">See invoice information</a>
428 [% INCLUDE 'serials-menu.inc' %]
431 [% INCLUDE 'intranet-bottom.inc' %]