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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt (-2 / +9 lines)
Lines 12-18 $(document).ready(function() { Link Here
12
    var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
12
    var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
13
        bPaginate: false,
13
        bPaginate: false,
14
        aoColumnDefs: [
14
        aoColumnDefs: [
15
            { "bSortable": false, "aTargets": [1, 8] },
15
            { "bSortable": false, "aTargets": [1, 9] },
16
            { "bVisible": false, "aTargets": [0] },
16
            { "bVisible": false, "aTargets": [0] },
17
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
17
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
18
        ]
18
        ]
Lines 106-111 $(document).ready(function() { Link Here
106
                <th>&nbsp;</th>
106
                <th>&nbsp;</th>
107
                <th>Invoice no.</th>
107
                <th>Invoice no.</th>
108
                <th>Vendor</th>
108
                <th>Vendor</th>
109
                <th class="title-string">Shipment date</th>
109
                <th class="title-string">Billing date</th>
110
                <th class="title-string">Billing date</th>
110
                <th>Received biblios</th>
111
                <th>Received biblios</th>
111
                <th>Received items</th>
112
                <th>Received items</th>
Lines 121-126 $(document).ready(function() { Link Here
121
                  <td><a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoice.invoiceid %]">[% invoice.invoicenumber %]</a></td>
122
                  <td><a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoice.invoiceid %]">[% invoice.invoicenumber %]</a></td>
122
                  <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% invoice.booksellerid %]">[% invoice.suppliername %]</a></td>
123
                  <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% invoice.booksellerid %]">[% invoice.suppliername %]</a></td>
123
                  <td>
124
                  <td>
125
                    [% IF invoice.shipmentdate %]
126
                      <span title="[% invoice.shipmentdate %]">[% invoice.shipmentdate | $KohaDates %]</span>
127
                    [% ELSE %]
128
                      <span title="0000-00-00"></span>
129
                    [% END %]
130
                  </td>
131
                  <td>
124
                    [% IF invoice.billingdate %]
132
                    [% IF invoice.billingdate %]
125
                      <span title="[% invoice.billingdate %]">[% invoice.billingdate | $KohaDates %]</span>
133
                      <span title="[% invoice.billingdate %]">[% invoice.billingdate | $KohaDates %]</span>
126
                    [% ELSE %]
134
                    [% ELSE %]
127
- 

Return to bug 12906