Lines 1-23
Link Here
|
1 |
[% USE KohaDates %] |
1 |
[% USE KohaDates %] |
|
|
2 |
[% USE ColumnsSettings %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Acquisitions › [% IF ( order_loop ) %]Orders search › Search results[% ELSE %]Order search[% END %]</title> |
4 |
<title>Koha › Acquisitions › [% IF ( order_loop ) %]Orders search › Search results[% ELSE %]Order search[% END %]</title> |
4 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'calendar.inc' %] |
7 |
[% INCLUDE 'calendar.inc' %] |
7 |
[% INCLUDE 'datatables.inc' %] |
8 |
[% INCLUDE 'datatables.inc' %] |
|
|
9 |
[% INCLUDE 'columns_settings.inc' %] |
8 |
|
10 |
|
9 |
<script type="text/javascript" src="[% interface %]/js/autocomplete/patrons.js"></script> |
11 |
<script type="text/javascript" src="[% interface %]/js/autocomplete/patrons.js"></script> |
10 |
<script type="text/javascript"> |
12 |
<script type="text/javascript"> |
11 |
//<![CDATA[ |
13 |
//<![CDATA[ |
12 |
var MSG_REMOVE_PATRON = _("Remove"); |
14 |
var MSG_REMOVE_PATRON = _("Remove"); |
13 |
$(document).ready(function() { |
15 |
$(document).ready(function() { |
14 |
$("#histsearcht").dataTable($.extend(true, {}, dataTablesDefaults, { |
16 |
var columns_settings = [% ColumnsSettings.GetColumns( 'acqui', 'histsearch', 'histsearcht', 'json' ) %]; |
|
|
17 |
KohaTable("#histsearcht", { |
15 |
"aoColumnDefs": [ |
18 |
"aoColumnDefs": [ |
16 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
19 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
17 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
20 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
18 |
], |
21 |
], |
19 |
"sPaginationType": "four_button" |
22 |
"sPaginationType": "four_button" |
20 |
} ) ); |
23 |
}, columns_settings ); |
21 |
|
24 |
|
22 |
[% UNLESS order_loop %] |
25 |
[% UNLESS order_loop %] |
23 |
patron_autocomplete({ |
26 |
patron_autocomplete({ |
24 |
- |
|
|