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 function confirm_deletion() {
13 var is_confirmed = confirm(_("Are you sure you want to delete this subscription?"));
15 window.location="subscription-detail.pl?subscriptionid=[% subscriptionid %]&op=del";
18 function popup(subscriptionid) {
19 newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes');
21 $(document).ready(function() {
22 $("#subscription_description").tabs();
23 $("#renewsub").click(function(){
24 popup([% subscriptionid %]);
31 <body id="ser_subscription-detail" class="ser">
32 [% INCLUDE 'header.inc' %]
33 [% INCLUDE 'serials-search.inc' %]
35 <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>
37 <div id="doc3" class="yui-t2">
42 [% INCLUDE 'serials-toolbar.inc' %]
44 <h1>Subscription for [% bibliotitle%] [% IF closed %](closed)[% END %]</h1>
45 [% IF ( abouttoexpire ) %]
47 <div class="dialog message">Subscription will expire [% enddate %]. <a href="#" id="renewsub">Renew this subscription</a>.</div>
50 [% IF ( NEEDSCONFIRMATION ) %]
51 <div id="circ_needsconfirmation" class="dialog alert">
52 <h3>Please Confirm Subscription deletion</h3>
55 [% IF ( NOTEXPIRED ) %] <li>The subscription has not expired yet</li> [% END %]
56 [% IF ( LINKEDISSUES ) %] <li>The subscription has linked issues</li> [% END %]
57 [% IF ( LINKEDITEMS ) %] <li>The subscription has linked items<br /> Those items won't be deleted</li> [% END %]
59 <form method="post" action="/cgi-bin/koha/serials/subscription-detail.pl">
60 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
61 <input type="hidden" name="issueconfirmed" value="1" />
62 <input type="hidden" name="op" value="del" />
63 <input type="submit" class="approve" value="Yes, delete (Y)" accesskey="y" />
65 <form method="get" action="/cgi-bin/koha/serials/subscription-detail.pl">
66 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
67 <input type="submit" class="deny" value="No, don't delete (N)" accesskey="n" />
71 [% END %] <!-- NEEDSCONFIRMATION -->
73 <div id="subscription_description" class="toptabs">
74 <ul class="ui-tabs-nav">
75 <li><a href="#subscription_info">Information</a></li>
76 <li><a href="#subscription_planning">Planning</a></li>
77 <li><a href="#subscription_issues">Issues</a></li>
78 <li><a href="#subscription_summary">Summary</a></li>
81 <div id="subscription_info">
83 <div class="yui-u first">
86 <li><span class="label">Subscription ID: </span>[% subscriptionid %]</li>
87 <li><span class="label">Librarian identity:</span> [% librarian %]</li>
88 <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% aqbooksellerid %]">[% aqbooksellername %]</a></li>
89 <li><span class="label">Biblio:</span> <a href="/cgi-bin/koha/catalogue/[% default_bib_view %].pl?biblionumber=[% bibnum %]">[% bibliotitle %]</a> <i>([% bibnum %])</i></li>
90 [% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchcode | $KohaBranchName %]</li>[% END %]
91 [% IF ( serialsadditems ) %]
92 <li><span class="label">Items:</span> Serial receipt creates an item record.</li>
94 <li><span class="label">Items:</span> Serial receipt does not create an item record.</li>
97 <span class="label">Serial number:</span>
98 [% IF skip_serialseq %]
99 Serial number is skipped when an irregularity is found.
101 Serial number is kept when an irregularity is found.
104 <li><span class="label">Grace period:</span> [% graceperiod %]</li>
111 [% IF ( location ) %]<li><span class="label">Location:</span> [% location %]</li>[% END %]
112 [% IF ( callnumber ) %]<li><span class="label">Call number:</span> [% callnumber %]</li>[% END %]
113 [% IF ( staffdisplaycount ) %]<li><span class="label">Number of issues to display to staff:</span>[% staffdisplaycount %]</li>[% END %]
114 [% IF ( opacdisplaycount ) %]<li><span class="label">Number of issues to display in OPAC:</span>[% opacdisplaycount %]</li>[% END %]
117 <span class="label">Patron notification:</span> [% letter %]
118 (<a href="/cgi-bin/koha/serials/viewalerts.pl?subscriptionid=[% subscriptionid %]">subscribers</a>)
121 [% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
128 <div id="subscription_planning">
132 <li><span class="label">Beginning date:</span> [% startdate %]
134 <li><span class="label">Frequency:</span>
135 [% frequency.description %]
138 <span class="label">Manual history: </span>
139 [% IF ( manualhistory ) %]
140 Enabled <a href="/cgi-bin/koha/serials/subscription-history.pl?subscriptionid=[% subscriptionid %]">Edit history</a>
145 <li><span class="label">Number pattern:</span>
146 [% numberpattern.label %]
150 <td>Starting with:</td>
152 <td align="center">[% lastvalue1 %]</td>
155 <td align="center">[% lastvalue2 %]</td>
158 <td align="center">[% lastvalue3 %]</td>
164 <td align="center">[% numberpattern.whenmorethan1 %]</td>
167 <td align="center">[% numberpattern.whenmorethan2 %]</td>
170 <td align="center">[% numberpattern.whenmorethan3 %]</td>
174 [% IF ( irregular_issues ) %]
175 <li><span class="label">Irregularity:</span> [% irregular_issues %] issues
178 <li><span class="label">First arrival:</span> [% firstacquidate %]
180 [% IF ( numberlength ) %]<li><span class="label">Number of issues:</span> [% numberlength %]</li>[% END %]
181 [% IF ( weeklength ) %]<li><span class="label">Number of weeks:</span> [% weeklength %]</li>[% END %]
182 [% IF ( monthlength ) %]<li><span class="label">Number of months:</span> [% monthlength %]</li>[% END %]
187 <div id="subscription_numbering" style="display:none;">
188 <h3>Numbering calculation</h3>
189 <p><label>Numbering formula:</label> [% numberingmethod %]</p>
211 <td>[% every1 %]</td>
212 <td>[% every2 %]</td>
213 <td>[% every3 %]</td>
216 <td>When more than</td>
217 <td>[% whenmorethan1 %] [% IF ( innerloop1 ) %]<br />
218 <i>(is [% innerloop1 %])</i>[% END %]</td>
219 <td>[% whenmorethan2 %] [% IF ( innerloop2 ) %]<br />
220 <i>(is [% innerloop2 %])</i>[% END %]</td>
221 <td>[% whenmorethan3 %] [% IF ( innerloop3 ) %]<br />
222 <i>(is [% innerloop3 %])</i>[% END %]</td>
226 <td>[% setto1 %]</td>
227 <td>[% setto2 %]</td>
228 <td>[% setto3 %]</td>
234 <td>[% innerloop1 %]</td>
235 <td>[% innerloop2 %]</td>
236 <td>[% innerloop3 %]</td>
242 <td>[% lastvalue1 %]</td>
243 <td>[% lastvalue2 %]</td>
244 <td>[% lastvalue3 %]</td>
248 <div id="subscription_issues">
251 <th>Issue number</th>
252 <th>Planned date</th>
253 <th>Published date</th>
256 [% FOREACH serialslis IN serialslist %]
259 [% serialslis.serialseq %]
262 [% serialslis.planneddate %]
265 [% serialslis.publisheddate %]
268 [% IF ( serialslis.status1 ) %]Expected[% END %]
269 [% IF ( serialslis.status2 ) %]Arrived[% END %]
270 [% IF ( serialslis.status3 ) %]Late[% END %]
271 [% IF ( serialslis.status4 ) %]Missing[% END %]
272 [% IF ( serialslis.status5 ) %]Not issued[% END %]
273 [% IF ( serialslis.status6 ) %]Delete[% END %]
274 [% IF ( serialslis.status7 ) %]
276 [% IF ( serialslis.claimdate ) %]
277 [% serialslis.claimdate %]
280 [% IF ( serialslis.status8 ) %]Stopped[% END %]
286 <div id="subscription_summary">
290 <li><span class="label">Start date:</span> [% startdate %] </li>
291 <li><span class="label">End date:</span> [% enddate %]</li>
292 <li><span class="label">History start date:</span> [% histstartdate %] </li>
293 <li><span class="label">History end date:</span> [% histenddate %]</li>
294 <li><span class="label">Received issues:</span>[% recievedlist %]</li>
295 <li><span class="label">Missing issues:</span>[% missinglist %]</li>
296 <li><span class="label">Nonpublic note:</span>[% internalnotes FILTER html_line_break %]</li>
297 <li><span class="label">Public note:</span>[% notes FILTER html_line_break %]</li>
298 <li><span class="label">History staff note:</span>[% librariannote FILTER html_line_break %]</li>
299 <li><span class="label">History OPAC note:</span>[% opacnote FILTER html_line_break %]</li>
306 [% IF ( show_acquisition_details ) %]
307 <div id="acquisition_details">
308 <h2>Acquisition details</h2>
311 <tr><th></th><th>Price exc. taxes</th><th>Price inc. taxes</th><th>Fund</th><th></th></tr>
315 <td>Ordered amount</td>
316 <td>[% valuegste_ordered %]</td>
317 <td>[% valuegsti_ordered %]</td>
318 <td>[% budget_name_ordered %]</td>
320 [% IF ( ordered_exists ) %]
321 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">See basket information</a>
326 <td>Spent amount</td>
327 <td>[% valuegste_spent %]</td>
328 <td>[% valuegsti_spent %]</td>
329 <td>[% budget_name_spent %]</td>
331 [% IF ( spent_exists ) %]
332 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoiceid %]">See invoice information</a>
347 [% INCLUDE 'serials-menu.inc' %]
350 [% INCLUDE 'intranet-bottom.inc' %]