View | Details | Raw Unified | Return to bug 13865
Collapse All | Expand All

(-)a/admin/columns_settings.yml (+31 lines)
Lines 1-5 Link Here
1
modules:
1
modules:
2
  acqui:
2
  acqui:
3
    histsearch:
4
      histsearcht:
5
        -
6
          columnname: order_line
7
        -
8
          columnname: status
9
        -
10
          columnname: basket
11
        -
12
          columnname: basket_creator
13
        -
14
          columnname: basket_group
15
        -
16
          columnname: invoice_number
17
        -
18
          columnname: summary
19
        -
20
          columnname: vendor
21
        -
22
          columnname: placed_on
23
        -
24
          columnname: received_on
25
        -
26
          columnname: quantity_received
27
        -
28
          columnname: pending_order
29
        -
30
          columnname: unit_cost
31
        -
32
          columnname: fund
33
3
    lateorders:
34
    lateorders:
4
      late_orders:
35
      late_orders:
5
        -
36
        -
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt (-3 / +5 lines)
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 &rsaquo; Acquisitions &rsaquo; [% IF ( order_loop ) %]Orders search &rsaquo; Search results[% ELSE %]Order search[% END %]</title>
4
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( order_loop ) %]Orders search &rsaquo; 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
- 

Return to bug 13865