366 lines
14 KiB
Text
366 lines
14 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Serials › Details for Subscription #[% subscriptionid %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<script type="text/javascript" language="javascript">
|
|
<!--
|
|
|
|
// the english words used in display purposes
|
|
var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern",
|
|
"Autumn"),_("Winter"),_("Spring"),_("Summer"),_("Fall"),_("Season"),_("Year"));
|
|
|
|
|
|
// to display the options section
|
|
function options(x,y,z){
|
|
var textbox = '';
|
|
// alert("X: "+x+"Y: "+y+"Z: "+z);
|
|
if(x){
|
|
document.f.xfield.value = x;
|
|
if(y){
|
|
document.f.yfield.value = y;
|
|
if(z){
|
|
document.f.zfield.value = z;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function confirm_deletion() {
|
|
var is_confirmed = confirm(_("Are you sure you want to delete this subscription?"));
|
|
if (is_confirmed) {
|
|
window.location="subscription-detail.pl?subscriptionid=[% subscriptionid %]&op=del";
|
|
}
|
|
}
|
|
function popup(subscriptionid) {
|
|
newin=window.open("subscription-renew.pl?mode=popup&subscriptionid="+subscriptionid,'popup','width=590,height=440,toolbar=false,scrollbars=yes');
|
|
}
|
|
|
|
-->
|
|
</script>
|
|
</head>
|
|
<body>
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'serials-search.inc' %]
|
|
|
|
<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>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
[% INCLUDE 'serials-toolbar.inc' %]
|
|
|
|
<h1>Subscription for [% bibliotitle %] </h1>
|
|
[% IF ( abouttoexpire ) %]<div class="problem">Subscription is near its end. It should be renewed now.</div>[% END %]
|
|
[% IF ( NEEDSCONFIRMATION ) %]
|
|
<div id="circ_needsconfirmation" class="dialog alert">
|
|
<h3>Please Confirm Subscription deletion</h3>
|
|
|
|
<ul>
|
|
[% IF ( NOTEXPIRED ) %] <li>The subscription has not expired yet</li> [% END %]
|
|
[% IF ( LINKEDISSUES ) %] <li>The subscription has linked issues</li> [% END %]
|
|
[% IF ( LINKEDITEMS ) %] <li>The subscription has linked items<br /> Those items won't be deleted</li> [% END %]
|
|
</ul>
|
|
<form method="post" action="/cgi-bin/koha/serials/subscription-detail.pl">
|
|
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
|
|
<input type="hidden" name="issueconfirmed" value="1" />
|
|
<input type="hidden" name="op" value="del" />
|
|
<input type="submit" class="approve" value="Yes, Delete (Y)" accesskey="y" />
|
|
</form>
|
|
<form method="get" action="/cgi-bin/koha/serials/subscription-detail.pl">
|
|
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
|
|
<input type="submit" class="deny" value="No, Don't Delete (N)" accesskey="n" />
|
|
</form>
|
|
|
|
</div>
|
|
[% END %] <!-- NEEDSCONFIRMATION -->
|
|
|
|
|
|
<div id="subscription_info">
|
|
<h2>Subscription information</h2>
|
|
<ul>
|
|
<li><span class="label">Subscription ID: </span>[% subscriptionid %]</li>
|
|
<li><span class="label">Librarian identity:</span> [% librarian %]</li>
|
|
<li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% aqbooksellerid %]">[% aqbooksellername %] </a></li>
|
|
<li><span class="label">Biblio:</span> <i>([% bibnum %])</i> <a href="/cgi-bin/koha/catalogue/[% default_bib_view %].pl?biblionumber=[% bibnum %]">[% bibliotitle %]</a></li>
|
|
[% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchcode %] </li>[% END %]
|
|
[% IF ( serialsadditems ) %]
|
|
<li>Serial receipt creates an item record.</li>
|
|
[% ELSE %]
|
|
<li>Serial receipt does not create an item record.</li>
|
|
[% END %]
|
|
<li><span class="label">Grace period:</span> [% graceperiod %] </li>
|
|
[% IF ( location ) %]<li><span class="label">Location:</span> [% location %] </li>[% END %]
|
|
[% IF ( callnumber ) %]<li><span class="label">Call Number:</span> [% callnumber %] </li>[% END %]
|
|
[% IF ( staffdisplaycount ) %]<li><span class="label">Number of issues to display to staff</span>: [% staffdisplaycount %] </li>[% END %]
|
|
[% IF ( opacdisplaycount ) %]<li><span class="label">Number of issues to display to the public</span>: [% opacdisplaycount %] </li>[% END %]
|
|
[% IF ( letter ) %]<li><span class="label">Patron alert with:</span> [% letter %] </li>[% END %]
|
|
[% IF ( hasRouting ) %]<li><span class="label">Routing:</span> yes</li>[% END %]
|
|
</ul>
|
|
</div>
|
|
<div id="subscription_planning">
|
|
<h2>Planning</h2>
|
|
<p><label>Beginning date:</label> [% startdate %]
|
|
</p>
|
|
<p><label>Frequency (*):</label>
|
|
[% IF ( periodicity16 ) %]
|
|
Without regularity
|
|
[% END %]
|
|
[% IF ( periodicity32 ) %]
|
|
Irregular
|
|
[% END %]
|
|
[% IF ( periodicity0 ) %]
|
|
Unknown
|
|
[% END %]
|
|
[% IF ( periodicity12 ) %]
|
|
2/day
|
|
[% END %]
|
|
[% IF ( periodicity1 ) %]
|
|
1/day
|
|
[% END %]
|
|
[% IF ( periodicity13 ) %]
|
|
3/week
|
|
[% END %]
|
|
[% IF ( periodicity2 ) %]
|
|
1/week
|
|
[% END %]
|
|
[% IF ( periodicity3 ) %]
|
|
1/2 weeks
|
|
[% END %]
|
|
[% IF ( periodicity4 ) %]
|
|
1/3 weeks
|
|
[% END %]
|
|
[% IF ( periodicity5 ) %]
|
|
1/Month
|
|
[% END %]
|
|
[% IF ( periodicity6 ) %]
|
|
1/2 Months (6/year)
|
|
[% END %]
|
|
[% IF ( periodicity7 ) %]
|
|
1/quarter
|
|
[% END %]
|
|
[% IF ( periodicity8 ) %]
|
|
1/quarter
|
|
[% END %]
|
|
[% IF ( periodicity9 ) %]
|
|
2/year
|
|
[% END %]
|
|
[% IF ( periodicity10 ) %]
|
|
1/year
|
|
[% END %]
|
|
[% IF ( periodicity11 ) %]
|
|
1/2 years
|
|
[% END %]
|
|
Manual history :
|
|
[% IF ( manualhistory ) %]
|
|
<input type="checkbox" checked="checked" disabled="disabled" />
|
|
[% ELSE %]
|
|
<input type="checkbox" disabled="disabled" />
|
|
[% END %]
|
|
</p>
|
|
<p><label>Number pattern:</label>
|
|
[% IF ( numberpattern1 ) %]
|
|
Number only
|
|
[% END %]
|
|
[% IF ( numberpattern2 ) %]
|
|
Volume, Number, Issue
|
|
[% END %]
|
|
[% IF ( numberpattern3 ) %]
|
|
Volume, Number
|
|
[% END %]
|
|
[% IF ( numberpattern4 ) %]
|
|
Volume, Issue
|
|
[% END %]
|
|
[% IF ( numberpattern5 ) %]
|
|
Number, Issue
|
|
[% END %]
|
|
[% IF ( numberpattern8 ) %]
|
|
Year/Number
|
|
[% END %]
|
|
[% IF ( numberpattern6 ) %]
|
|
Seasonal only
|
|
[% END %]
|
|
[% IF ( numberpattern7 ) %]
|
|
None of the above
|
|
[% END %]
|
|
</p>
|
|
<table>
|
|
<tr><td><p>Starting with:</p></td>
|
|
<td align="center">[% lastvalue1 %]</td>
|
|
[% IF ( lastvalue2 ) %]
|
|
<td align="center">
|
|
[% lastvalue2 %]
|
|
</td>
|
|
[% END %]
|
|
[% IF ( lastvalue3 ) %]
|
|
<td align="center">
|
|
[% lastvalue3 %]
|
|
</td>
|
|
[% END %]
|
|
</tr>
|
|
<tr><td><p>Rollover:</p></td>
|
|
<td align="center">[% whenmorethan1 %]</td>
|
|
[% IF ( whenmorethan2 ) %]
|
|
<td align="center">
|
|
[% whenmorethan2 %]
|
|
</td>
|
|
[% END %]
|
|
[% IF ( whenmorethan3 ) %]
|
|
<td align="center">
|
|
[% whenmorethan3 %]
|
|
</td>
|
|
[% END %]
|
|
</tr>
|
|
</table>
|
|
[% IF ( irregular_issues ) %]
|
|
<p><label>Irregularity:</label> [% irregular_issues %] issues
|
|
</p>
|
|
[% END %]
|
|
<p><label>First arrival:</label> [% firstacquidate %]
|
|
</p>
|
|
[% IF ( numberlength ) %]<p><label>Number of issues:</label> [% numberlength %]</p>[% END %]
|
|
[% IF ( weeklength ) %]<p><label>Number of weeks:</label> [% weeklength %]</p>[% END %]
|
|
[% IF ( monthlength ) %]<p><label>Number of months:</label> [% monthlength %]</p>[% END %]
|
|
</div>
|
|
<div id="subscription_numbering" style="display:none;">
|
|
<h3>Numbering calculation</h3>
|
|
<p><label>Numbering formula:</label> [% numberingmethod %]</p>
|
|
<table>
|
|
<tr>
|
|
<th> </th>
|
|
<th>X</th>
|
|
<th>Y</th>
|
|
<th>Z</th>
|
|
</tr>
|
|
<tr>
|
|
<td>Add</td>
|
|
<td>
|
|
[% add1 %]
|
|
</td>
|
|
<td>
|
|
[% add2 %]
|
|
</td>
|
|
<td>
|
|
[% add3 %]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>once every</td>
|
|
<td>[% every1 %]</td>
|
|
<td>[% every2 %]</td>
|
|
<td>[% every3 %]</td>
|
|
</tr>
|
|
<tr>
|
|
<td>When more than</td>
|
|
<td>[% whenmorethan1 %] [% IF ( innerloop1 ) %]<br />
|
|
<i>(is [% innerloop1 %])</i>[% END %]</td>
|
|
<td>[% whenmorethan2 %] [% IF ( innerloop2 ) %]<br />
|
|
<i>(is [% innerloop2 %])</i>[% END %]</td>
|
|
<td>[% whenmorethan3 %] [% IF ( innerloop3 ) %]<br />
|
|
<i>(is [% innerloop3 %])</i>[% END %]</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Set back to</td>
|
|
<td>[% setto1 %]</td>
|
|
<td>[% setto2 %]</td>
|
|
<td>[% setto3 %]</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Inner Counter
|
|
</td>
|
|
<td>[% innerloop1 %]</td>
|
|
<td>[% innerloop2 %]</td>
|
|
<td>[% innerloop3 %]</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Last value
|
|
</td>
|
|
<td>[% lastvalue1 %]</td>
|
|
<td>[% lastvalue2 %]</td>
|
|
<td>[% lastvalue3 %]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div id="subscription_issues">
|
|
<h2>Serial issues</h2>
|
|
<table>
|
|
<tr>
|
|
<th>Issue number</th>
|
|
<th>Planned date</th>
|
|
<th>Published date</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
[% FOREACH serialslis IN serialslist %]
|
|
<tr>
|
|
<td>
|
|
[% serialslis.serialseq %]
|
|
</td>
|
|
<td>
|
|
[% serialslis.planneddate %]
|
|
</td>
|
|
<td>
|
|
[% serialslis.publisheddate %]
|
|
</td>
|
|
<td>
|
|
[% IF ( serialslis.status1 ) %]
|
|
Expected
|
|
[% END %]
|
|
[% IF ( serialslis.status2 ) %]
|
|
Arrived
|
|
[% END %]
|
|
[% IF ( serialslis.status3 ) %]
|
|
Late
|
|
[% END %]
|
|
[% IF ( serialslis.status4 ) %]
|
|
Missing
|
|
[% END %]
|
|
[% IF ( serialslis.status5 ) %]
|
|
Not Available
|
|
[% END %]
|
|
[% IF ( serialslis.status7 ) %]
|
|
Claimed
|
|
[% IF ( serialslis.claimdate ) %]
|
|
[% serialslis.claimdate %]
|
|
[% END %]
|
|
[% END %]
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</div>
|
|
<div id="subscription_summary">
|
|
<h2>Subscription summary</h2>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td><label>Start date</label></td>
|
|
<td> [% startdate %] </td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>End date</label></td>
|
|
<td> [% enddate %]</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>History start date</label></td>
|
|
<td> [% histstartdate %] </td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>History end date</label></td>
|
|
<td> [% histenddate %]</td>
|
|
</tr>
|
|
<tr><td><label>Received issues</label></td><td>[% recievedlist %]</td></tr>
|
|
<tr><td><label>Missing issues</label></td><td>[% missinglist %]</td></tr>
|
|
<tr><td><label>Nonpublic note</label></td><td>[% internalnotes %]</td></tr>
|
|
<tr><td><label>Public note</label></td><td>[% notes %]</td></tr>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="yui-b">
|
|
[% INCLUDE 'serials-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|