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 %]
134 [% IF ( show_acquisition_details ) %]
135 <div id="acquisition_details">
136 <h2>Acquisition details</h2>
139 <tr><th></th><th>Price exc. taxes</th><th>Price inc. taxes</th><th>Fund</th><th></th></tr>
143 <td>Ordered amount</td>
144 <td>[% valuegste_ordered %]</td>
145 <td>[% valuegsti_ordered %]</td>
146 <td>[% budget_name_ordered %]</td>
148 [% IF ( ordered_exists ) %]
149 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">See basket information</a>
154 <td>Spent amount</td>
155 <td>[% valuegste_spent %]</td>
156 <td>[% valuegsti_spent %]</td>
157 <td>[% budget_name_spent %]</td>
159 [% IF ( spent_exists ) %]
160 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoiceid %]">See invoice information</a>
168 <div id="subscription_planning">
172 <li><span class="label">Beginning date:</span> [% startdate %]
174 <li><span class="label">Frequency (*):</span>
175 [% IF ( periodicity16 ) %]
178 [% IF ( periodicity32 ) %]
181 [% IF ( periodicity0 ) %]
184 [% IF ( periodicity12 ) %]
187 [% IF ( periodicity1 ) %]
190 [% IF ( periodicity13 ) %]
193 [% IF ( periodicity2 ) %]
196 [% IF ( periodicity3 ) %]
199 [% IF ( periodicity4 ) %]
202 [% IF ( periodicity5 ) %]
205 [% IF ( periodicity6 ) %]
208 [% IF ( periodicity7 ) %]
211 [% IF ( periodicity8 ) %]
214 [% IF ( periodicity9 ) %]
217 [% IF ( periodicity10 ) %]
220 [% IF ( periodicity11 ) %]
225 <span class="label">Manual history: </span>
226 [% IF ( manualhistory ) %]
232 <li><span class="label">Number pattern:</span>
233 [% IF ( numberpattern1 ) %]
236 [% IF ( numberpattern2 ) %]
237 Volume, number, issue
239 [% IF ( numberpattern3 ) %]
242 [% IF ( numberpattern4 ) %]
245 [% IF ( numberpattern5 ) %]
248 [% IF ( numberpattern8 ) %]
251 [% IF ( numberpattern6 ) %]
254 [% IF ( numberpattern7 ) %]
259 <tr><td>Starting with:</td>
260 <td align="center">[% lastvalue1 %]</td>
261 [% IF ( lastvalue2 ) %]
262 <td align="center">
266 [% IF ( lastvalue3 ) %]
267 <td align="center">
272 <tr><td>Rollover:</td>
274 [% IF ( whenmorethan1 < 9999999 ) %][% whenmorethan1 %][% ELSE %]Never[% END %]
276 [% IF ( whenmorethan2 ) %]
277 <td align="center">
278 [% IF ( whenmorethan2 < 9999999 ) %][% whenmorethan2 %][% ELSE %]Never[% END %]
281 [% IF ( whenmorethan3 ) %]
282 <td align="center">
283 [% IF ( whenmorethan3 < 9999999 ) %][% whenmorethan3 %][% ELSE %]Never[% END %]
288 [% IF ( irregular_issues ) %]
289 <li><span class="label">Irregularity:</span> [% irregular_issues %] issues
292 <li><span class="label">First arrival:</span> [% firstacquidate %]
294 [% IF ( numberlength ) %]<li><span class="label">Number of issues:</span> [% numberlength %]</li>[% END %]
295 [% IF ( weeklength ) %]<li><span class="label">Number of weeks:</span> [% weeklength %]</li>[% END %]
296 [% IF ( monthlength ) %]<li><span class="label">Number of months:</span> [% monthlength %]</li>[% END %]
301 <div id="subscription_numbering" style="display:none;">
302 <h3>Numbering calculation</h3>
303 <p><label>Numbering formula:</label> [% numberingmethod %]</p>
325 <td>[% every1 %]</td>
326 <td>[% every2 %]</td>
327 <td>[% every3 %]</td>
330 <td>When more than</td>
331 <td>[% whenmorethan1 %] [% IF ( innerloop1 ) %]<br />
332 <i>(is [% innerloop1 %])</i>[% END %]</td>
333 <td>[% whenmorethan2 %] [% IF ( innerloop2 ) %]<br />
334 <i>(is [% innerloop2 %])</i>[% END %]</td>
335 <td>[% whenmorethan3 %] [% IF ( innerloop3 ) %]<br />
336 <i>(is [% innerloop3 %])</i>[% END %]</td>
340 <td>[% setto1 %]</td>
341 <td>[% setto2 %]</td>
342 <td>[% setto3 %]</td>
348 <td>[% innerloop1 %]</td>
349 <td>[% innerloop2 %]</td>
350 <td>[% innerloop3 %]</td>
356 <td>[% lastvalue1 %]</td>
357 <td>[% lastvalue2 %]</td>
358 <td>[% lastvalue3 %]</td>
362 <div id="subscription_issues">
365 <th>Issue number</th>
366 <th>Planned date</th>
367 <th>Published date</th>
370 [% FOREACH serialslis IN serialslist %]
373 [% serialslis.serialseq %]
376 [% serialslis.planneddate %]
379 [% serialslis.publisheddate %]
382 [% IF ( serialslis.status1 ) %]Expected[% END %]
383 [% IF ( serialslis.status2 ) %]Arrived[% END %]
384 [% IF ( serialslis.status3 ) %]Late[% END %]
385 [% IF ( serialslis.status4 ) %]Missing[% END %]
386 [% IF ( serialslis.status5 ) %]Not issued[% END %]
387 [% IF ( serialslis.status6 ) %]Delete[% END %]
388 [% IF ( serialslis.status7 ) %]
390 [% IF ( serialslis.claimdate ) %]
391 [% serialslis.claimdate %]
394 [% IF ( serialslis.status8 ) %]Stopped[% END %]
400 <div id="subscription_summary">
404 <li><span class="label">Start date:</span> [% startdate %] </li>
405 <li><span class="label">End date:</span> [% enddate %]</li>
406 <li><span class="label">History start date:</span> [% histstartdate %] </li>
407 <li><span class="label">History end date:</span> [% histenddate %]</li>
408 <li><span class="label">Received issues:</span>[% recievedlist %]</li>
409 <li><span class="label">Missing issues:</span>[% missinglist %]</li>
410 <li><span class="label">Nonpublic note:</span>[% internalnotes FILTER html_line_break %]</li>
411 <li><span class="label">Public note:</span>[% notes FILTER html_line_break %]</li>
412 <li><span class="label">History staff note:</span>[% librariannote FILTER html_line_break %]</li>
413 <li><span class="label">History OPAC note:</span>[% opacnote FILTER html_line_break %]</li>
423 [% INCLUDE 'serials-menu.inc' %]
426 [% INCLUDE 'intranet-bottom.inc' %]