|
Lines 2-7
Link Here
|
| 2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
| 3 |
[% USE Price %] |
3 |
[% USE Price %] |
| 4 |
[% USE Branches %] |
4 |
[% USE Branches %] |
|
|
5 |
[% USE TablesSettings %] |
| 5 |
[% SET footerjs = 1 %] |
6 |
[% SET footerjs = 1 %] |
| 6 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
| 7 |
<title>Koha › Acquisitions</title> |
8 |
<title>Koha › Acquisitions</title> |
|
Lines 195-200
Link Here
|
| 195 |
|
196 |
|
| 196 |
[% MACRO jsinclude BLOCK %] |
197 |
[% MACRO jsinclude BLOCK %] |
| 197 |
[% INCLUDE 'datatables.inc' %] |
198 |
[% INCLUDE 'datatables.inc' %] |
|
|
199 |
[% INCLUDE 'columns_settings.inc' %] |
| 198 |
[% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") | $raw %] |
200 |
[% Asset.js("lib/jquery/plugins/treetable/jquery.treetable.js") | $raw %] |
| 199 |
[% Asset.js("js/acquisitions-menu.js") | $raw %] |
201 |
[% Asset.js("js/acquisitions-menu.js") | $raw %] |
| 200 |
<script> |
202 |
<script> |
|
Lines 202-207
Link Here
|
| 202 |
|
204 |
|
| 203 |
$(document).ready(function() { |
205 |
$(document).ready(function() { |
| 204 |
|
206 |
|
|
|
207 |
var column_settings = [% TablesSettings.GetColumns( 'acqui', 'acq_acqui-home', 'accounts', 'json' ) | $raw %]; |
| 208 |
var accounts_table = KohaTable("accounts", { |
| 209 |
"columnDefs": [ |
| 210 |
{ "sortable": false, "searchable": false, 'targets': [ 'NoSort' ] }, |
| 211 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
| 212 |
], |
| 213 |
'autoWidth': false, |
| 214 |
}, column_settings ); |
| 215 |
|
| 205 |
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { |
216 |
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 206 |
"fnDrawCallback": function ( oSettings ) { |
217 |
"fnDrawCallback": function ( oSettings ) { |
| 207 |
if ( oSettings.aiDisplay.length == 0 ) |
218 |
if ( oSettings.aiDisplay.length == 0 ) |
| 208 |
- |
|
|