Kyle M Hall
a8942c2884
Revert "DBRev to make notes of the XSS patches and the new important dependency." This reverts commite140603a59
. Revert "Bug 13618: Specific for branches.opac_info" This reverts commit06e4a50f00
. Revert "Bug 13618: (follow-up) Specific for other prefs" This reverts commitd6475a111f
. Revert "Bug 13618: Fix for debarredcomment and patron messages" This reverts commitdd98c9df92
. Revert "Bug 13618: Do not display html tags in patron's notices" This reverts commita065b243fe
. Revert "Bug 13618: Do not display and html tags in item fields content" This reverts commitbaeeaffbf8
. Revert "Bug 13618: Fix for system preference description" This reverts commita967a09261
. Revert "Bug 13618: Remove html filters for newly pushed code" This reverts commit0e98662b10
. Revert "Bug 13618: (follow-up) add missing lines for opac-shelves" This reverts commitfc2fb605e5
. Revert "Bug 13618: (follow-up) Specific for ColumnsSettings" This reverts commitbc308fdd9c
. Revert "Bug 13618: Fix for edit biblios and items" This reverts commit811c4e8402
. Revert "Bug 13618: followup to remove tabs" This reverts commitca8e8c397c
. Revert "Bug 13618: Fix last occurrences recently introduced to master" This reverts commitbb417b256b
. Revert "Bug 13618: Fix for news" This reverts commitae5b98020a
. Revert "Bug 13618: Fix escape on sending baskets or shelves by email" This reverts commita7731ffe25
. Revert "Bug 13618: Specific for XSLTBloc" This reverts commit11fa38dc29
. Revert "Bug 13618: Specific for Salutation on editing a patron" This reverts commit36c07ad6d3
. Revert "Bug 13618: Specific for other prefs" This reverts commite6ea281a3b
. Revert "Bug 13618 - memberentrygen.tt errors Not a GLOB reference" This reverts commit7824874557
. Revert "Bug 13618: Specific for ColumnsSettings" This reverts commit1834da3da3
. Revert "Bug 13618: Specific for IntranetUser* and OPACUser* prefs" This reverts commit21ae62b253
. Revert "Bug 13618: Fix error 'Not a GLOB reference'" This reverts commit602bdbab4c
. Revert "Bug 13618: Specific for the ISBD view" This reverts commitd254362435
. Revert "Bug 13618: Specific for pagination_bar" This reverts commit8837a8ae68
. Revert "Bug 13618: Specific places where we don't need to escape variables - intra" This reverts commit00eff140b3
. Revert "Bug 13618: Remove html filters at the intranet" This reverts commit7db851ff03
. Revert "Bug 13618: Specific places where we don't need to escape variables" This reverts commit49a3738b8d
. Revert "Bug 13618: Remove html filters at the OPAC" This reverts commitcedaa0e23e
. Revert "Bug 13618: Use Template::Stash::AutoEscaping to use the html filter" This reverts commit01b38d3b13
. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
122 lines
5.8 KiB
Text
122 lines
5.8 KiB
Text
[% USE KohaDates %]
|
|
[% USE Branches %]
|
|
[% USE Koha %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Serials [% biblionumber %]</title>
|
|
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
[% INCLUDE 'datatables.inc' %]
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
function updateRowsVisibility(show_only_renewed) {
|
|
if ( show_only_renewed ) {
|
|
$("#srlt [data-reneweddate='']").hide();
|
|
} else {
|
|
$("#srlt > tbody > tr").show();
|
|
}
|
|
}
|
|
|
|
$(document).ready(function() {
|
|
$("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
|
|
"aoColumnDefs": [
|
|
{ "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
|
|
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] },
|
|
{ "sType": "title-string", "aTargets" : [ "title-string" ] }
|
|
],
|
|
"sPaginationType": "four_button"
|
|
} ) )
|
|
|
|
$("#show_only_renewed").click(function(){
|
|
updateRowsVisibility($(this+":checked").val());
|
|
});
|
|
$("#show_only_renewed").attr('checked', false);
|
|
updateRowsVisibility(false);
|
|
|
|
$("#advsearch_form").show();
|
|
});
|
|
//]]>
|
|
</script>
|
|
</head>
|
|
<body id="acq_newordersubscription" class="acq">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'acquisitions-search.inc' %]
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% supplierid %]">[% booksellername %]</a> › <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Shopping Basket [% basketno %]</a> › Add order from a subscription</div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<h2>Serials subscriptions</h2>
|
|
[% IF (done_searched) %]
|
|
<label for="show_only_renewed">
|
|
<input type="checkbox" style="vertical-align: middle;" id="show_only_renewed" />
|
|
Show only renewed
|
|
</label>
|
|
[% IF (subs_loop) %]
|
|
<table id="srlt">
|
|
<thead>
|
|
<tr>
|
|
<th>ISSN</th>
|
|
<th class="anti-the">Title</th>
|
|
<th> Notes </th>
|
|
<th>Library</th>
|
|
<th>Call number</th>
|
|
<th class="title-string">Expiration date</th>
|
|
<th class="NoSort"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH sub IN subs_loop %]
|
|
<tr data-reneweddate="[% sub.reneweddate %]" >
|
|
<td>[% sub.issn %]</td>
|
|
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% sub.subscriptionid %]" class="button" title="subscription detail">[% IF (sub.title) %][% sub.title |html %][% ELSE %]
|
|
---
|
|
[% END %][% IF (sub.unititle) %], [% sub.unititle %][% END %]</a>
|
|
</td>
|
|
<td>[% IF (sub.publicnotes) %][% sub.publicnotes %][% END %]
|
|
[% IF (sub.internalnotes) %]([% sub.internalnotes %])[% END %]
|
|
</td>
|
|
<td>
|
|
[% IF (sub.branchcode) %][% Branches.GetName( sub.branchcode ) %][% END %]
|
|
</td>
|
|
<td>
|
|
[% IF (sub.callnumber) %][% sub.callnumber %][% END %]
|
|
</td>
|
|
<td>
|
|
[% IF (sub.enddate) %]
|
|
<span title="[% sub.enddate %]">[% sub.enddate | $KohaDates %]</span>
|
|
[% ELSE %]
|
|
<span title="0000-00-00"></span>
|
|
[% END %]
|
|
</td>
|
|
<td>
|
|
[% IF (sub.alreadyOnOrder) %]
|
|
Outstanding order (only one order per subscription is allowed)
|
|
[% ELSIF not sub.aqbooksellerid || booksellerid == sub.aqbooksellerid%]
|
|
<a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&biblionumber=[% sub.biblionumber %]&subscriptionid=[% sub.subscriptionid %]" title="Order this one">
|
|
Order
|
|
</a>
|
|
[% ELSE %]
|
|
<a title="This subscription depends on another supplier" style="cursor:help">Cannot be ordered</a>
|
|
[% END %]
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
[% ELSE %]
|
|
<p>Sorry, there is no result for your search.</p>
|
|
[% END %]
|
|
[% ELSE %]
|
|
<p>Use the search form on the left to find subscriptions.</p>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
|
|
<div class="yui-b">
|
|
[% INCLUDE 'subscriptions-search.inc' %]
|
|
[% INCLUDE 'acquisitions-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|