Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl
Ryan Higgins 0c66ac6702 Final patch for serials planning bugs
This patch resolves bug 1580 and addresses the modification of firstacquidate as per hdl's comments.
I have also removed some useless javascript from subscription-detail, and just reported the number of
irregular issues there (previously  was reporting nothing since the js was broken).

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-08-05 07:31:24 -05:00

331 lines
14 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Serials &rsaquo; Details for Subscription #<!-- TMPL_VAR name="subscriptionid" --></title>
<!-- TMPL_INCLUDE NAME="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=<!-- TMPL_VAR name="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>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="serials-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; Details for Subscription #<!-- TMPL_VAR name="subscriptionid" --></div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="serials-toolbar.inc" -->
<h1>Subscription for <!-- TMPL_VAR name="bibliotitle" --> </h1>
<!--TMPL_IF Name="abouttoexpire"--><div class="problem">Subscription is near its end. It should be renewed now.</div><!--/TMPL_IF-->
<div id="subscription_info">
<h2>Subscription information</h2>
<ul>
<li><span class="label">Subscription ID: </span><!--TMPL_VAR name="subscriptionid"--></li>
<li><span class="label">Librarian identity:</span> <!-- TMPL_VAR name="librarian" --></li>
<li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR name="aqbooksellerid"-->"><!-- TMPL_VAR name="aqbooksellername" -->&nbsp;</a></li>
<li><span class="label">Biblio:</span> <i>(<!-- TMPL_VAR name="bibnum" -->)</i> <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="bibnum" -->"><!-- TMPL_VAR name="bibliotitle" --></a></li><br />
<!-- TMPL_IF name="branchcode" --><li><span class="label">Library:</span> <!-- TMPL_VAR name="branchcode" -->&nbsp;</li><!-- /TMPL_IF -->
<!-- TMPL_IF name="serialsadditems" -->
<li>Serial receipt creates an item record.</li>
<!-- TMPL_ELSE -->
<li>Serial receipt does not create an item record.</li>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="callnumber" --><li><span class="label">Call Number:</span> <!-- TMPL_VAR name="callnumber" -->&nbsp;</li><!-- /TMPL_IF -->
<!-- TMPL_IF name="letter" --><li><span class="label">Patron alert with:</span> <!-- TMPL_VAR name="letter" -->&nbsp;</li><!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" --><li><span class="label">Notes:</span> <!-- TMPL_VAR name="notes" --></li><!-- /TMPL_IF -->
<!-- TMPL_IF name="internalnotes" --><li><span class="label">Management Notes:</span> <!-- TMPL_VAR name="internalnotes" --></li><!-- /TMPL_IF -->
</div>
<div id="subscription_planning">
<h2>Planning</h2>
<p><label>Beginnning date:</label> <!-- TMPL_VAR name="startdate" -->
</p>
<p><label>Frequency (*):</label>
<!--TMPL_IF name="periodicity16" -->
Without regularity
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity32" -->
Irregular
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity0" -->
Unknown
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity12" -->
2/day
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity1" -->
1/day
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity13" -->
3/week
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity2" -->
1/week
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity3" -->
1/2 weeks
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity4" -->
1/3 weeks
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity5" -->
1/Month
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity6" -->
1/2 Months (6/year)
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity7" -->
1/quarter
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity8" -->
1/quarter
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity9" -->
2/year
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity10" -->
1/year
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity11" -->
1/2 years
<!-- /TMPL_IF -->
Manual history :
<!--TMPL_IF Name="manualhistory"-->
<input type="checkbox" checked="checked" disabled="disabled" />
<!-- TMPL_ELSE -->
<input type="checkbox" disabled="disabled" />
<!--/TMPL_IF-->
</p>
<p><label>Number pattern:</label>
<!-- TMPL_IF name="numberpattern1" -->
Number only
<!-- /TMPL_IF -->
<!-- TMPL_IF name="numberpattern2" -->
Volume, Number, Issue
<!-- /TMPL_IF -->
<!-- TMPL_IF name="numberpattern3" -->
Volume, Number
<!-- /TMPL_IF -->
<!-- TMPL_IF name="numberpattern4" -->
Volume, Issue
<!-- /TMPL_IF -->
<!-- TMPL_IF name="numberpattern5" -->
Number, Issue
<!-- /TMPL_IF -->
<!-- TMPL_IF name="numberpattern8" -->
Year/Number
<!-- /TMPL_IF -->
<!-- TMPL_IF name="numberpattern6" -->
Seasonal only
<!-- /TMPL_IF -->
<!-- TMPL_IF name="numberpattern7" -->
None of the above
<!-- /TMPL_IF -->
</p>
<table>
<tr><td><p>Starting with:</p></td>
<td align="center"><!--TMPL_VAR NAME="lastvalue1"--></td>
<!--TMPL_IF NAME="lastvalue2"-->
<td align="center">&nbsp;
<!--TMPL_VAR NAME="lastvalue2"-->
</td>
<!--/TMPL_IF-->
<!--TMPL_IF NAME="lastvalue3"-->
<td align="center">&nbsp;
<!--TMPL_VAR NAME="lastvalue3"-->
</td>
<!--/TMPL_IF-->
</tr>
<tr><td><p>Rollover:</p></td>
<td align="center">&nbsp;</td>
<!--TMPL_IF NAME="whenmorethan2"-->
<td align="center">&nbsp;
<!--TMPL_VAR NAME="whenmorethan2"-->
</td>
<!--/TMPL_IF-->
<!--TMPL_IF NAME="whenmorethan3"-->
<td align="center">&nbsp;
<!--TMPL_VAR NAME="whenmorethan3"-->
</td>
<!--/TMPL_IF-->
</tr>
</table>
<!-- TMPL_IF NAME="irregular_issues" -->
<p><label>Irregularity:</label> <!-- TMPL_VAR name="irregular_issues" --> issues
</p>
<!-- /TMPL_IF -->
<p><label>First arrival:</label> <!--TMPL_VAR name="firstacquidate" -->
</p>
<!-- TMPL_IF name="numberlength" --><p><label>Number of issues:</label> <!-- TMPL_VAR name="numberlength" --></p><!-- /TMPL_IF -->
<!-- TMPL_IF name="weeklength" --><p><label>Number of weeks:</label> <!-- TMPL_VAR name="weeklength" --></p><!-- /TMPL_IF -->
<!-- TMPL_IF name="monthlength" --><p><label>Number of months:</label> <!-- TMPL_VAR name="monthlength" --></p><!-- /TMPL_IF -->
</div>
<div id="subscription_numbering" style="display:none;">
<h3>Numbering calculation</h3>
<p><label>Numbering formula:</label> <!-- TMPL_VAR name="numberingmethod" --></p>
<table>
<tr>
<th>&nbsp;</th>
<th>X</th>
<th>Y</th>
<th>Z</th>
</tr>
<tr>
<td>Add</td>
<td>
<!-- TMPL_VAR name="add1" -->
</td>
<td>
<!-- TMPL_VAR name="add2" -->
</td>
<td>
<!-- TMPL_VAR name="add3" -->
</td>
</tr>
<tr>
<td>once every</td>
<td><!-- TMPL_VAR name="every1" --></td>
<td><!-- TMPL_VAR name="every2" --></td>
<td><!-- TMPL_VAR name="every3" --></td>
</tr>
<tr>
<td>When more than</td>
<td><!-- TMPL_VAR name="whenmorethan1" --> <!-- TMPL_IF name="innerloop1" --><br />
<i>(is <!-- TMPL_VAR name="innerloop1" -->)</i><!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR name="whenmorethan2" --> <!-- TMPL_IF name="innerloop2" --><br />
<i>(is <!-- TMPL_VAR name="innerloop2" -->)</i><!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR name="whenmorethan3" --> <!-- TMPL_IF name="innerloop3" --><br />
<i>(is <!-- TMPL_VAR name="innerloop3" -->)</i><!-- /TMPL_IF --></td>
</tr>
<tr>
<td>Set back to</td>
<td><!-- TMPL_VAR name="setto1" --></td>
<td><!-- TMPL_VAR name="setto2" --></td>
<td><!-- TMPL_VAR name="setto3" --></td>
</tr>
<tr>
<td>
Inner Counter
</td>
<td><!-- TMPL_VAR name="innerloop1" --></td>
<td><!-- TMPL_VAR name="innerloop2" --></td>
<td><!-- TMPL_VAR name="innerloop3" --></td>
</tr>
<tr>
<td>
Last value
</td>
<td><!-- TMPL_VAR name="lastvalue1" --></td>
<td><!-- TMPL_VAR name="lastvalue2" --></td>
<td><!-- TMPL_VAR name="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>
<!-- TMPL_LOOP name="serialslist" -->
<tr>
<td>
<!-- TMPL_VAR name="serialseq" -->
</td>
<td>
<!-- TMPL_VAR name="planneddate" -->
</td>
<td>
<!-- TMPL_VAR name="publisheddate" -->
</td>
<td>
<!--TMPL_IF name="status1" -->
Expected
<!-- /TMPL_IF -->
<!--TMPL_IF name="status2" -->
Arrived
<!-- /TMPL_IF -->
<!--TMPL_IF name="status3" -->
Late
<!-- /TMPL_IF -->
<!--TMPL_IF name="status4" -->
Missing
<!-- /TMPL_IF -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<div id="subscription_summary">
<h2>Subscription summary</h2>
<table cellpadding="0" cellspacing="0">
<tr>
<td><label>Start date</label></td>
<td> <!-- TMPL_VAR name="startdate" --> </td>
</tr>
<tr>
<td><label>End date</label></td>
<td> <!-- TMPL_VAR name="enddate" --></td>
</tr>
<tr>
<td><label>History start date</label></td>
<td> <!-- TMPL_VAR name="histstartdate" --> </td>
</tr>
<tr>
<td><label>History end date</label></td>
<td> <!-- TMPL_VAR name="histenddate" --></td>
</tr>
<tr><td><label>Received issues</label></td><td><!-- TMPL_VAR name="recievedlist" --></td></tr>
<tr><td><label>Missing issues</label></td><td><!-- TMPL_VAR name="missinglist" --></td></tr>
<tr><td><label>Nonpublic note</label></td><td><!-- TMPL_VAR name="librariannote" --></td></tr>
<tr><td><label>Public note</label></td><td><!-- TMPL_VAR name="opacnote" --></td></tr>
</table>
</div>
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->