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

(-)a/C4/Acquisition.pm (-2 lines)
Lines 2115-2122 sub GetLateOrders { Link Here
2115
    $sth->execute(@query_params);
2115
    $sth->execute(@query_params);
2116
    my @results;
2116
    my @results;
2117
    while (my $data = $sth->fetchrow_hashref) {
2117
    while (my $data = $sth->fetchrow_hashref) {
2118
        $data->{orderdate} = format_date($data->{orderdate});
2119
        $data->{claimed_date} = format_date($data->{claimed_date});
2120
        push @results, $data;
2118
        push @results, $data;
2121
    }
2119
    }
2122
    return @results;
2120
    return @results;
(-)a/acqui/parcels.pl (-1 / +1 lines)
Lines 169-175 for my $i ( $startfrom .. $last_row) { Link Here
169
        nullcode         => $p->{invoicenumber} eq 'NULL',
169
        nullcode         => $p->{invoicenumber} eq 'NULL',
170
        emptycode        => $p->{invoicenumber} eq q{},
170
        emptycode        => $p->{invoicenumber} eq q{},
171
        raw_datereceived => $p->{shipmentdate},
171
        raw_datereceived => $p->{shipmentdate},
172
        datereceived     => format_date( $p->{shipmentdate} ),
172
        datereceived     => $p->{shipmentdate},
173
        bibcount         => $p->{receivedbiblios} || 0,
173
        bibcount         => $p->{receivedbiblios} || 0,
174
        reccount         => $p->{receiveditems} || 0,
174
        reccount         => $p->{receiveditems} || 0,
175
        itemcount        => $p->{itemsexpected} || 0,
175
        itemcount        => $p->{itemsexpected} || 0,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-12 / +12 lines)
Lines 14-29 Link Here
14
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script>
14
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script>
15
<script type="text/JavaScript">
15
<script type="text/JavaScript">
16
//<![CDATA[
16
//<![CDATA[
17
    [% IF (dateformat == 'metric') %]
18
        dt_add_type_uk_date();
19
    [% END %]
20
    $(document).ready(function() {
17
    $(document).ready(function() {
21
        var srlt = $("#files").dataTable($.extend(true, {}, dataTablesDefaults, {
18
        $("#files,#recordst").dataTable($.extend(true, {}, dataTablesDefaults, {
22
            "aoColumns": [
23
                null,null,null,{ "sType": "title-string" },null,null
24
            ],
25
            "aoColumnDefs": [
19
            "aoColumnDefs": [
26
                { "aTargets": [ 5 ], "bSortable": false, "bSearchable": false },
20
                { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
21
                { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
22
                { "sType": "title-string", "aTargets" : [ "title-string" ] }
27
            ],
23
            ],
28
            "sPaginationType": "four_button",
24
            "sPaginationType": "four_button",
29
            "aaSorting": []
25
            "aaSorting": []
Lines 58-69 Link Here
58
                  </h1>
54
                  </h1>
59
               <div>
55
               <div>
60
                   <form action="[% scriptname %]" method="post" name="import_biblios">
56
                   <form action="[% scriptname %]" method="post" name="import_biblios">
61
                     <table>
57
                     <table id="recordst">
58
                     <thead>
62
                     <tr>
59
                     <tr>
63
                         <th>Citation</th>
60
                         <th class="anti-the">Citation</th>
64
                         <th>Match?</th>
61
                         <th>Match?</th>
65
                         <th>Order</th>
62
                         <th>Order</th>
66
                       </tr>
63
                       </tr>
64
                       </thead>
65
                       <tbody>
67
                       [% FOREACH biblio_lis IN biblio_list %]
66
                       [% FOREACH biblio_lis IN biblio_list %]
68
                         <tr>
67
                         <tr>
69
                             <td>
68
                             <td>
Lines 89-94 Link Here
89
    </tr>
88
    </tr>
90
    [% END %]
89
    [% END %]
91
                      [% END %]
90
                      [% END %]
91
                      </tbody>
92
                     </table>
92
                     </table>
93
                   </form>
93
                   </form>
94
               </div>
94
               </div>
Lines 112-120 Link Here
112
                       <th>File name</th>
112
                       <th>File name</th>
113
                       <th>Comments</th>
113
                       <th>Comments</th>
114
                       <th>Status</th>
114
                       <th>Status</th>
115
                       <th>Staged</th>
115
                       <th class="title-string">Staged</th>
116
                       <th># Bibs</th>
116
                       <th># Bibs</th>
117
                       <th>&nbsp;</th>
117
                       <th class="NoSort">&nbsp;</th>
118
                     </tr>
118
                     </tr>
119
                     </thead>
119
                     </thead>
120
                     <tbody>
120
                     <tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt (-9 / +12 lines)
Lines 7-17 Link Here
7
[% INCLUDE 'datatables.inc' %]
7
[% INCLUDE 'datatables.inc' %]
8
<script type="text/javascript">
8
<script type="text/javascript">
9
//<![CDATA[
9
//<![CDATA[
10
[% IF (dateformat == 'metric') %]
11
    dt_add_type_uk_date();
12
[% END %]
13
 $(document).ready(function() {
10
 $(document).ready(function() {
14
    var histsearcht = $("#histsearcht").dataTable($.extend(true, {}, dataTablesDefaults, {
11
    $("#histsearcht").dataTable($.extend(true, {}, dataTablesDefaults, {
12
        "aoColumnDefs": [
13
            { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
14
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
15
        ],
15
        "sPaginationType": "four_button"
16
        "sPaginationType": "four_button"
16
    } ) );
17
    } ) );
17
 });
18
 });
Lines 126-135 Link Here
126
				<th>Basket</th>
127
				<th>Basket</th>
127
				<th>Basket group</th>
128
				<th>Basket group</th>
128
                <th>Invoice number</th>
129
                <th>Invoice number</th>
129
				<th>Summary</th>
130
                <th class="anti-the">Summary</th>
130
				<th>Vendor</th>
131
				<th>Vendor</th>
131
				<th>Placed on</th>
132
                <th class="title-string">Placed on</th>
132
				<th>Received on</th>
133
                <th class="title-string">Received on</th>
133
                <th>Quantity received</th>
134
                <th>Quantity received</th>
134
                <th>Pending order</th>
135
                <th>Pending order</th>
135
				<th>Unit cost</th>
136
				<th>Unit cost</th>
Lines 171-180 Link Here
171
                        <br />[% order.author %] <br /> [% order.isbn %]
172
                        <br />[% order.author %] <br /> [% order.isbn %]
172
                    </td>
173
                    </td>
173
                    <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]">[% order.name %]</a></td>
174
                    <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]">[% order.name %]</a></td>
174
                    <td>[% order.creationdate | $KohaDates %]</td>
175
                    <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates %]</span></td>
175
                    <td>
176
                    <td>
176
                        [% IF order.datereceived %]
177
                        [% IF order.datereceived %]
177
                            [% order.datereceived | $KohaDates %]
178
                            <span title="[% order.datereceived %]">[% order.datereceived | $KohaDates %]</span>
179
                        [% ELSE %]
180
                            <span title="0000-00-00"></span>
178
                        [% END %]
181
                        [% END %]
179
                    </td>
182
                    </td>
180
                    <td>[% order.quantityreceived %]</td>
183
                    <td>[% order.quantityreceived %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-12 / +18 lines)
Lines 8-16 Link Here
8
[% INCLUDE 'calendar.inc' %]
8
[% INCLUDE 'calendar.inc' %]
9
<script type="text/javascript">
9
<script type="text/javascript">
10
//<![CDATA[
10
//<![CDATA[
11
[% IF (dateformat == 'metric') %]
12
    dt_add_type_uk_date();
13
[% END %]
14
11
15
var late_orderst;
12
var late_orderst;
16
function check_uncheck() {
13
function check_uncheck() {
Lines 28-33 $(document).ready(function() { Link Here
28
    late_orderst = $("#late_orders").dataTable($.extend(true, {}, dataTablesDefaults, {
25
    late_orderst = $("#late_orders").dataTable($.extend(true, {}, dataTablesDefaults, {
29
        "aoColumnDefs": [
26
        "aoColumnDefs": [
30
            { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
27
            { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
28
            { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
29
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
31
        ],
30
        ],
32
        "sPaginationType": "four_button",
31
        "sPaginationType": "four_button",
33
        "bAutoWidth": false,
32
        "bAutoWidth": false,
Lines 111-124 $(document).ready(function() { Link Here
111
            [% ELSE %]
110
            [% ELSE %]
112
                <th></th>
111
                <th></th>
113
            [% END %]
112
            [% END %]
114
            <th>Order date</th>
113
            <th class="title-string">Order date</th>
115
            <th>Estimated delivery date</th>
114
            <th class="title-string">Estimated delivery date</th>
116
            <th>Vendor</th>
115
            <th>Vendor</th>
117
            <th>Information</th>
116
            <th class="anti-the">Information</th>
118
            <th>Total cost</th>
117
            <th>Total cost</th>
119
            <th>Basket</th>
118
            <th>Basket</th>
120
            <th>Claims count</th>
119
            <th>Claims count</th>
121
            <th>Claimed date</th>
120
            <th class="title-string">Claimed date</th>
122
        </tr>
121
        </tr>
123
      </thead>
122
      </thead>
124
      <tbody>
123
      <tbody>
Lines 129-140 $(document).ready(function() { Link Here
129
                <input type="checkbox" value="[% lateorder.ordernumber %]" data-booksellerid="[% lateorder.supplierid %]" name="ordernumber">
128
                <input type="checkbox" value="[% lateorder.ordernumber %]" data-booksellerid="[% lateorder.supplierid %]" name="ordernumber">
130
            </td>
129
            </td>
131
            <td>
130
            <td>
132
                [% lateorder.orderdate %]
131
                <span title="[% lateorder.orderdate %]">[% lateorder.orderdate | $KohaDates %] ([% lateorder.latesince %] days)</span>
133
                ([% lateorder.latesince %] days)
134
            </td>
132
            </td>
135
            <td>
133
            <td>
136
                [% IF ( lateorder.estimateddeliverydate ) %]
134
                [% IF ( lateorder.estimateddeliverydate ) %]
137
                    [% lateorder.estimateddeliverydate | $KohaDates  %]
135
                    <span title="[% lateorder.estimateddeliverydate %]">[% lateorder.estimateddeliverydate | $KohaDates  %]</span>
136
                [% ELSE %]
137
                    <span title="0000-00-00"></span>
138
                [% END %]
138
                [% END %]
139
            </td>
139
            </td>
140
            <td>
140
            <td>
Lines 164-170 $(document).ready(function() { Link Here
164
                 <p title="branch">[% lateorder.branch %]</p>
164
                 <p title="branch">[% lateorder.branch %]</p>
165
            </td>
165
            </td>
166
            <td>[% lateorder.claims_count %]</td>
166
            <td>[% lateorder.claims_count %]</td>
167
            <td>[% lateorder.claimed_date %]</td>
167
            <td>
168
                [% IF ( lateorder.claimed_date ) %]
169
                    <span title="[% lateorder.claimed_date %]">[% lateorder.claimed_date | $KohaDates %]</span>
170
                [% ELSE %]
171
                    <span title="0000-00-00"></span>
172
                [% END %]
173
            </td>
168
        </tr>
174
        </tr>
169
      [% END %]
175
      [% END %]
170
      </tbody>
176
      </tbody>
Lines 210-216 $(document).ready(function() { Link Here
210
216
211
	<li><label for="booksellerid">Vendor:</label>
217
	<li><label for="booksellerid">Vendor:</label>
212
		<select id="booksellerid" size="1" tabindex="" name="booksellerid">
218
		<select id="booksellerid" size="1" tabindex="" name="booksellerid">
213
			<option value=""/>
219
            <option value=""></option>
214
			[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %]
220
			[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %]
215
                [% IF ( SUPPLIER_LOO.selected ) %]<option value="[% SUPPLIER_LOO.id %]" selected="selected">[% SUPPLIER_LOO.name %]</option>
221
                [% IF ( SUPPLIER_LOO.selected ) %]<option value="[% SUPPLIER_LOO.id %]" selected="selected">[% SUPPLIER_LOO.name %]</option>
216
                [% ELSE %]<option value="[% SUPPLIER_LOO.id %]">[% SUPPLIER_LOO.name %]</option>[% END %]
222
                [% ELSE %]<option value="[% SUPPLIER_LOO.id %]">[% SUPPLIER_LOO.name %]</option>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (-11 / +12 lines)
Lines 14-29 Link Here
14
        }
14
        }
15
    }
15
    }
16
16
17
    [% IF (dateformat == 'metric') %]
18
        dt_add_type_uk_date();
19
    [% END %]
20
    $(document).ready(function() {
17
    $(document).ready(function() {
21
        $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
18
        $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
22
            "aoColumnDefs": [
19
            "aoColumnDefs": [
23
                [% IF (dateformat == 'metric') %]
20
                { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
24
                    { "aTargets": [ -2 ], "sType": "uk_date" },
21
                { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
25
                [% END %]
22
                { "sType": "title-string", "aTargets" : [ "title-string" ] }
26
            ],
23
            ]
27
        } ) )
24
        } ) )
28
25
29
        $("#show_only_renewed").click(function(){
26
        $("#show_only_renewed").click(function(){
Lines 58-69 Link Here
58
                        <thead>
55
                        <thead>
59
                            <tr>
56
                            <tr>
60
                                <th>ISSN</th>
57
                                <th>ISSN</th>
61
                                <th>Title</th>
58
                                <th class="anti-the">Title</th>
62
                                <th> Notes </th>
59
                                <th> Notes </th>
63
                                <th>Library</th>
60
                                <th>Library</th>
64
                                <th>Call number</th>
61
                                <th>Call number</th>
65
                                <th>Expiration date</th>
62
                                <th class="title-string">Expiration date</th>
66
                                <th></th>
63
                                <th class="NoSort"></th>
67
                            </tr>
64
                            </tr>
68
                        </thead>
65
                        </thead>
69
                        <tbody>
66
                        <tbody>
Lines 84-90 Link Here
84
                                    [% IF (sub.callnumber) %][% sub.callnumber %][% END %]
81
                                    [% IF (sub.callnumber) %][% sub.callnumber %][% END %]
85
                                </td>
82
                                </td>
86
                                <td>
83
                                <td>
87
                                    [% IF (sub.enddate) %][% sub.enddate | $KohaDates %][% END %]
84
                                    [% IF (sub.enddate) %]
85
                                        <span title="[% sub.enddate %]">[% sub.enddate | $KohaDates %]</span>
86
                                    [% ELSE %]
87
                                        <span title="0000-00-00"></span>
88
                                    [% END %]
88
                                </td>
89
                                </td>
89
                                <td>
90
                                <td>
90
                                    [% IF (sub.alreadyOnOrder) %]
91
                                    [% IF (sub.alreadyOnOrder) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt (-13 / +14 lines)
Lines 6-16 Link Here
6
[% INCLUDE 'datatables.inc' %]
6
[% INCLUDE 'datatables.inc' %]
7
<script type="text/javascript">
7
<script type="text/javascript">
8
//<![CDATA[
8
//<![CDATA[
9
[% IF (dateformat == 'metric') %]
10
    dt_add_type_uk_date();
11
[% END %]
12
 $(document).ready(function() {
9
 $(document).ready(function() {
13
    var spent = $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
10
    $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
11
        "aoColumnDefs": [
12
            { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
13
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
14
        ],
14
        "sPaginationType": "four_button"
15
        "sPaginationType": "four_button"
15
    } ) );
16
    } ) );
16
 });
17
 });
Lines 32-47 Link Here
32
<h1>Fund: [% fund_code %]</h1>
33
<h1>Fund: [% fund_code %]</h1>
33
<h2>Ordered</h2>
34
<h2>Ordered</h2>
34
35
35
<table cellspacing="0" cellpadding="0" border="0" id="spent" class="collapse">
36
<table id="spent">
36
    <thead>
37
    <thead>
37
    <tr>
38
    <tr>
38
        <th> Title </th>
39
    <th class="anti-the"> Title </th>
39
	<th> Order </th>
40
	<th> Order </th>
40
	<th> Vendor </th>
41
	<th> Vendor </th>
41
	<th> Itemtype </th>
42
    <th> Item type </th>
42
    <th> Left on order </th>
43
    <th> Left on order </th>
43
	<th> Estimated cost per unit </th>
44
	<th> Estimated cost per unit </th>
44
    <th> Date ordered </th>
45
    <th class="title-string"> Date ordered </th>
45
	<th> Subtotal </th>
46
	<th> Subtotal </th>
46
    </tr>
47
    </tr>
47
    </thead>
48
    </thead>
Lines 71-83 Link Here
71
	<td class="cell">
72
	<td class="cell">
72
	    [% order.left %]
73
	    [% order.left %]
73
	</td>
74
	</td>
74
	<td class="cell" align="right">
75
    <td class="data cell">
75
	    [% order.ecost %]
76
	    [% order.ecost %]
76
	</td>
77
	</td>
77
	<td class="cell" align="right">
78
    <td class="cell">
78
	    [% order.entrydate | $KohaDates %]
79
        <span title="[% order.entrydate %]">[% order.entrydate | $KohaDates %]</span>
79
	</td>
80
	</td>
80
	<td class="cell" align="right">
81
    <td class="data cell">
81
	    [% order.subtotal %]
82
	    [% order.subtotal %]
82
	</td>
83
	</td>
83
    </tr>
84
    </tr>
Lines 92-98 Link Here
92
        <td> </td>
93
        <td> </td>
93
        <td> </td>
94
        <td> </td>
94
	<td> </td>
95
	<td> </td>
95
        <td align="right">
96
        <td class="data">
96
            [% total %]
97
            [% total %]
97
        </td>
98
        </td>
98
    </tr>
99
    </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt (-5 / +5 lines)
Lines 8-17 Link Here
8
<script type="text/javascript">
8
<script type="text/javascript">
9
//<![CDATA[
9
//<![CDATA[
10
 $(document).ready(function() {
10
 $(document).ready(function() {
11
[% IF (dateformat == 'metric') %]
12
    dt_add_type_uk_date();
13
[% END %]
14
    var parcelst = $("#parcelst").dataTable($.extend(true, {}, dataTablesDefaults, {
11
    var parcelst = $("#parcelst").dataTable($.extend(true, {}, dataTablesDefaults, {
12
        "aoColumnDefs": [
13
          { "sType": "title-string", "aTargets" : [ "title-string" ] }
14
        ],
15
        "sPaginationType": "four_button"
15
        "sPaginationType": "four_button"
16
    } ) );
16
    } ) );
17
17
Lines 88-94 Link Here
88
    <thead>
88
    <thead>
89
        <tr>
89
        <tr>
90
            <th>Line</th>
90
            <th>Line</th>
91
            <th>Date received</th>
91
            <th class="title-string">Date received</th>
92
            <th>Invoice number</th>
92
            <th>Invoice number</th>
93
            <th>Item count</th>
93
            <th>Item count</th>
94
            <th>Biblio count</th>
94
            <th>Biblio count</th>
Lines 107-113 Link Here
107
                [% searchresult.number %]
107
                [% searchresult.number %]
108
            </td>
108
            </td>
109
            <td>
109
            <td>
110
                [% searchresult.datereceived %]
110
                <span title="[% searchresult.datereceived %]">[% searchresult.datereceived | $KohaDates %]</span>
111
            </td>
111
            </td>
112
            <td>
112
            <td>
113
                [% IF ( searchresult.code ) %]
113
                [% IF ( searchresult.code ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt (-18 / +19 lines)
Lines 7-16 Link Here
7
<script type="text/javascript">
7
<script type="text/javascript">
8
//<![CDATA[
8
//<![CDATA[
9
 $(document).ready(function() {
9
 $(document).ready(function() {
10
    [% IF (dateformat == 'metric') %]
10
    $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
11
        dt_add_type_uk_date();
11
        "aoColumnDefs": [
12
    [% END %]
12
            { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
13
    var spent = $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
13
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
14
        ],
14
        "sPaginationType": "four_button"
15
        "sPaginationType": "four_button"
15
    } ) );
16
    } ) );
16
 });
17
 });
Lines 33-50 Link Here
33
<h2>Spent</h2>
34
<h2>Spent</h2>
34
35
35
36
36
<table cellspacing="0" cellpadding="0" border="0" id="spent" class="collapse">
37
<table id="spent">
37
    <thead>
38
    <thead>
38
    <tr>
39
    <tr>
39
        <th> Title </th>
40
        <th class="anti-the"> Title </th>
40
	<th> Order </th>
41
	<th> Order </th>
41
	<th> Vendor </th>
42
	<th> Vendor </th>
42
	<th> Invoice </th>
43
	<th> Invoice </th>
43
	<th> Itemtype </th>
44
    <th> Item type </th>
44
	<th> Received </th>
45
	<th> Received </th>
45
    <th> Unit price </th>
46
    <th> Unit price </th>
46
    <th> Date ordered </th>
47
    <th class="title-string"> Date ordered </th>
47
    <th> Date received </th>
48
    <th class="title-string"> Date received </th>
48
	<th> Subtotal </th>
49
	<th> Subtotal </th>
49
    </tr>
50
    </tr>
50
    </thead>
51
    </thead>
Lines 74-89 Link Here
74
	<td class="cell">
75
	<td class="cell">
75
	    [% order.quantityreceived %]
76
	    [% order.quantityreceived %]
76
	</td>
77
	</td>
77
	<td class="cell" align="right">
78
    <td class="cell">
78
	    [% order.unitprice %]
79
	    [% order.unitprice %]
79
	</td>
80
	</td>
80
	<td class="cell" align="right">
81
    <td class="cell">
81
	    [% order.entrydate | $KohaDates %]
82
        <span title="[% order.entrydate %]">[% order.entrydate | $KohaDates %]</span>
82
	</td>
83
	</td>
83
	<td class="cell" align="right">
84
    <td class="cell">
84
	    [% order.datereceived | $KohaDates %]
85
        <span title="[% order.datereceived %]">[% order.datereceived | $KohaDates %]</span>
85
	</td>
86
	</td>
86
	<td class="cell" align="right">
87
    <td class="data cell">
87
	    [% order.rowtotal %]
88
	    [% order.rowtotal %]
88
	</td>
89
	</td>
89
    </tr>
90
    </tr>
Lines 92-110 Link Here
92
        [% IF shipmentcosts.size %]
93
        [% IF shipmentcosts.size %]
93
            <tr valign="top">
94
            <tr valign="top">
94
                <td colspan="9"> Sub total </td>
95
                <td colspan="9"> Sub total </td>
95
                <td align="right"> [% subtotal %] </td>
96
                <td class="data"> [% subtotal %] </td>
96
            </tr>
97
            </tr>
97
            [% FOREACH shipmentcost IN shipmentcosts %]
98
            [% FOREACH shipmentcost IN shipmentcosts %]
98
                <tr>
99
                <tr>
99
                    <td></td>
100
                    <td></td>
100
                    <td colspan="8">Shipping cost for invoice [% shipmentcost.invoicenumber %]</td>
101
                    <td colspan="8">Shipping cost for invoice [% shipmentcost.invoicenumber %]</td>
101
                    <td class="total">[% shipmentcost.shipmentcost %]</td>
102
                    <td class="data total">[% shipmentcost.shipmentcost %]</td>
102
                </tr>
103
                </tr>
103
            [% END %]
104
            [% END %]
104
        [% END %]
105
        [% END %]
105
        <tr>
106
        <tr>
106
            <td colspan="9">TOTAL</td>
107
            <td colspan="9">TOTAL</td>
107
            <td class="total">[% total %]</td>
108
            <td class="data total">[% total %]</td>
108
        </tr>
109
        </tr>
109
    </tfoot>
110
    </tfoot>
110
</table>
111
</table>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-15 / +6 lines)
Lines 14-33 function confirm_deletion() { Link Here
14
}
14
}
15
15
16
 $(document).ready(function() {
16
 $(document).ready(function() {
17
    [% IF (dateformat == 'metric') %]
18
        dt_add_type_uk_date();
19
    [% END %]
20
    var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, {
17
    var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, {
21
        "aoColumnDefs": [
18
        "aoColumnDefs": [
22
          { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
19
          { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
23
          [% IF (dateformat == 'metric') %]
20
          { "sType": "title-string", "aTargets" : [ "title-string" ] }
24
            { "aTargets": [ 2, 3 ], "sType": "uk_date" },
25
          [% END %]
26
        ],
21
        ],
27
        'sDom': 't',
22
        'sDom': 't'
28
        'bPaginate': false,
29
        'bFilter': false,
30
        'bInfo': false,
31
    } ) );
23
    } ) );
32
 });
24
 });
33
//]]>
25
//]]>
Lines 249-256 function confirm_deletion() { Link Here
249
                    <tr>
241
                    <tr>
250
                        <th scope="col">Name</th>
242
                        <th scope="col">Name</th>
251
                        <th scope="col">Description</th>
243
                        <th scope="col">Description</th>
252
                        <th scope="col">Start date</th>
244
                        <th scope="col" class="title-string">Start date</th>
253
                        <th scope="col">End date</th>
245
                        <th scope="col" class="title-string">End date</th>
254
                        <th scope="col">&nbsp; </th>
246
                        <th scope="col">&nbsp; </th>
255
                        <th scope="col">&nbsp; </th>
247
                        <th scope="col">&nbsp; </th>
256
                    </tr>
248
                    </tr>
Lines 262-269 function confirm_deletion() { Link Here
262
                            <a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;contractnumber=[% contract.contractnumber %]&amp;booksellerid=[% contract.booksellerid %]">[% contract.contractname %]</a>
254
                            <a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;contractnumber=[% contract.contractnumber %]&amp;booksellerid=[% contract.booksellerid %]">[% contract.contractname %]</a>
263
                        </td>
255
                        </td>
264
                        <td>[% contract.contractdescription %]</td>
256
                        <td>[% contract.contractdescription %]</td>
265
                        <td>[% contract.contractstartdate | $KohaDates %]</td>
257
                        <td><span title="[% contract.contractstartdate %]">[% contract.contractstartdate | $KohaDates %]</span></td>
266
                        <td>[% contract.contractenddate | $KohaDates %]</td>
258
                        <td><span title="[% contract.contractenddate %]">[% contract.contractenddate | $KohaDates %]</span></td>
267
                        <td><a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;contractnumber=[% contract.contractnumber %]&amp;booksellerid=[% contract.booksellerid %]">Edit</a></td>
259
                        <td><a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;contractnumber=[% contract.contractnumber %]&amp;booksellerid=[% contract.booksellerid %]">Edit</a></td>
268
                        <td><a href="/cgi-bin/koha/admin/aqcontract.pl?op=delete_confirm&amp;contractnumber=[% contract.contractnumber %]&amp;booksellerid=[% contract.booksellerid %]">Delete</a></td>
260
                        <td><a href="/cgi-bin/koha/admin/aqcontract.pl?op=delete_confirm&amp;contractnumber=[% contract.contractnumber %]&amp;booksellerid=[% contract.booksellerid %]">Delete</a></td>
269
                        </tr>
261
                        </tr>
270
- 

Return to bug 12089