Koha/koha-tmpl/intranet-tmpl/prog/en/serials/subscription-detail.tmpl

231 lines
No EOL
7.2 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Subscription detail<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
<h1>Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
<div id="serials_subscription_detail">
<h2>Subscription information</h2>
<p>Librarian identity :</td><td> <!-- TMPL_VAR name="librarian" --></p>
<p><label>Supplier </label><!-- TMPL_VAR name="aqbooksellername" --></p>
<p><label>Cost</label><!-- TMPL_VAR name="cost" --></p>
<p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
<p><label>Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
<p><label>Notes:</label><!-- TMPL_VAR name="notes" --></p>
<p>
<!-- TMPL_IF name="letter" -->
<label>Issue alert with letter:</label><!-- TMPL_VAR name="letter" -->
<!-- TMPL_ELSE -->
Borrowers can't subscribe to issue alerts
<!-- /TMPL_IF -->
</p>
<p><label>Distributed to</label>
<p><ul><!-- TMPL_VAR name="distributedto" --></ul></p>
</div>
<div id="serials_subscription_detail_planning">
<h2>Planning</h2>
<p><label>Beginnning date:</label> <!-- TMPL_VAR name="startdate" --></p>
<p><label>Frequency (*):</label>
<!--TMPL_IF name="periodicity1" -->
1/day
<!-- /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 -->
</p>
<p><label>Arrives on:</label>
<!--TMPL_IF name="arrival1" -->
Monday
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival2" -->
Tuesday
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival3" -->
Wednesday
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival4" -->
Thursday
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival5" -->
Friday
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival6" -->
Saturday
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival7" -->
Sunday
<!-- /TMPL_IF -->
</div>
<div id="serials_subscription_detail_length">
<h2>Subscription length</h2>
<p><label>Number of issues</label><!-- TMPL_VAR name="numberlength" --></p>
<p><label>Number of weeks</label><!-- TMPL_VAR name="weeklength" --></p>
<p><label>Number of months</label><!-- TMPL_VAR name="monthlength" --></p>
</div>
<div id="serials_subscription_detail_calculation">
<h2>Numbering calculation</h2>
<p>
<p>Numbering formula: <!-- TMPL_VAR name="numberingmethod" --></p>
<table>
<tr>
<th>&nbsp;</th>
<th>&nbsp;&nbsp;&nbsp;&nbsp;X&nbsp;&nbsp;&nbsp;&nbsp;</th>
<th>&nbsp;&nbsp;&nbsp;&nbsp;Y&nbsp;&nbsp;&nbsp;&nbsp;</th>
<th>&nbsp;&nbsp;&nbsp;&nbsp;Z&nbsp;&nbsp;&nbsp;&nbsp;</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>
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="serials_subscription_detail_issue_list">
<h2>Issues</h2>
<table class="small">
<tr>
<th>&nbsp;&nbsp;&nbsp;&nbsp;Issue number&nbsp;&nbsp;&nbsp;&nbsp;</th>
<th>&nbsp;&nbsp;&nbsp;&nbsp;Planned date&nbsp;&nbsp;&nbsp;&nbsp;</th>
<th>&nbsp;&nbsp;&nbsp;&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;</th>
<th>&nbsp;&nbsp;&nbsp;&nbsp;Note&nbsp;&nbsp;&nbsp;&nbsp;</th>
</tr>
<!-- TMPL_LOOP name="serialslist" -->
<tr>
<td>
<!-- TMPL_VAR name="serialseq" -->
</td>
<td>
<!-- TMPL_VAR name="planneddate" -->
</td>
<td>
<!--TMPL_IF name="status1" -->
Waited
<!-- /TMPL_IF -->
<!--TMPL_IF name="status2" -->
Arrived
<!-- /TMPL_IF -->
<!--TMPL_IF name="status3" -->
Late
<!-- /TMPL_IF -->
<!--TMPL_IF name="status4" -->
Missing
<!-- /TMPL_IF -->
</select>
</td>
<td>
<!-- TMPL_VAR name="notes" -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<div id="action">
<form action="subscription-add.pl">
<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
<input type="hidden" name="op" value="mod" />
<input type="submit" value="Modify subscription" />
</form>
<form action="statecollection.pl">
<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
<input type="submit" value="Recieve issues" />
</form>
<form action="serial-issues.pl">
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
<input type="submit" value="Issue history" />
</form>
<form action="/cgi-bin/koha/bull-home.pl">
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
<input type="submit" value="Subscriptions" />
</form>
<!-- TMPL_IF name="letter" -->
<form action="viewalerts.pl">
<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
<input type="submit" value="Alerted borrowers" />
</form>
<!-- /TMPL_IF -->
<form action="/cgi-bin/koha/MARCdetail.pl">
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
<input type="submit" value="Back to biblio" />
</form>
<!-- TMPL_UNLESS name="totalissues" -->
<form action="javascript:confirm_deletion()">
<input type="submit" value="delete" />
</form>
<!-- /TMPL_UNLESS -->
</div>
<script>
function _(s) { return s } // dummy function for gettext
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";
}
}
</script>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->