Lines 9-17
Link Here
|
9 |
[% INCLUDE 'calendar.inc' %] |
9 |
[% INCLUDE 'calendar.inc' %] |
10 |
<script type="text/javascript"> |
10 |
<script type="text/javascript"> |
11 |
//<![CDATA[ |
11 |
//<![CDATA[ |
12 |
[% IF (dateformat == 'metric') %] |
|
|
13 |
dt_add_type_uk_date(); |
14 |
[% END %] |
15 |
|
12 |
|
16 |
var late_orderst; |
13 |
var late_orderst; |
17 |
function check_uncheck() { |
14 |
function check_uncheck() { |
Lines 29-34
$(document).ready(function() {
Link Here
|
29 |
late_orderst = $("#late_orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
26 |
late_orderst = $("#late_orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
30 |
"aoColumnDefs": [ |
27 |
"aoColumnDefs": [ |
31 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
28 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
|
|
29 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
30 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
32 |
], |
31 |
], |
33 |
"sPaginationType": "four_button", |
32 |
"sPaginationType": "four_button", |
34 |
"bAutoWidth": false, |
33 |
"bAutoWidth": false, |
Lines 112-128
$(document).ready(function() {
Link Here
|
112 |
[% ELSE %] |
111 |
[% ELSE %] |
113 |
<th></th> |
112 |
<th></th> |
114 |
[% END %] |
113 |
[% END %] |
115 |
<th>Order date</th> |
114 |
<th class="title-string">Order date</th> |
116 |
<th>Estimated delivery date</th> |
115 |
<th class="title-string">Estimated delivery date</th> |
117 |
<th>Vendor</th> |
116 |
<th>Vendor</th> |
118 |
<th>Information</th> |
117 |
<th class="anti-the">Information</th> |
119 |
<th>Total cost</th> |
118 |
<th>Total cost</th> |
120 |
<th>Basket</th> |
119 |
<th>Basket</th> |
121 |
<th>Basket group</th> |
120 |
<th>Basket group</th> |
122 |
<th>Library</th> |
121 |
<th>Library</th> |
123 |
<th>Fund</th> |
122 |
<th>Fund</th> |
124 |
<th>Claims count</th> |
123 |
<th>Claims count</th> |
125 |
<th>Claimed date</th> |
124 |
<th class="title-string">Claimed date</th> |
126 |
</tr> |
125 |
</tr> |
127 |
</thead> |
126 |
</thead> |
128 |
<tbody> |
127 |
<tbody> |
Lines 133-144
$(document).ready(function() {
Link Here
|
133 |
<input type="checkbox" value="[% lateorder.ordernumber %]" data-booksellerid="[% lateorder.supplierid %]" name="ordernumber"> |
132 |
<input type="checkbox" value="[% lateorder.ordernumber %]" data-booksellerid="[% lateorder.supplierid %]" name="ordernumber"> |
134 |
</td> |
133 |
</td> |
135 |
<td> |
134 |
<td> |
136 |
[% lateorder.orderdate %] |
135 |
<span title="[% lateorder.orderdate %]">[% lateorder.orderdate | $KohaDates %] ([% lateorder.latesince %] days)</span> |
137 |
([% lateorder.latesince %] days) |
|
|
138 |
</td> |
136 |
</td> |
139 |
<td> |
137 |
<td> |
140 |
[% IF ( lateorder.estimateddeliverydate ) %] |
138 |
[% IF ( lateorder.estimateddeliverydate ) %] |
141 |
[% lateorder.estimateddeliverydate | $KohaDates %] |
139 |
<span title="[% lateorder.estimateddeliverydate %]">[% lateorder.estimateddeliverydate | $KohaDates %]</span> |
|
|
140 |
[% ELSE %] |
141 |
<span title="0000-00-00"></span> |
142 |
[% END %] |
142 |
[% END %] |
143 |
</td> |
143 |
</td> |
144 |
<td> |
144 |
<td> |
Lines 180-186
$(document).ready(function() {
Link Here
|
180 |
<td>[% lateorder.budget %] |
180 |
<td>[% lateorder.budget %] |
181 |
</td> |
181 |
</td> |
182 |
<td>[% lateorder.claims_count %]</td> |
182 |
<td>[% lateorder.claims_count %]</td> |
183 |
<td>[% lateorder.claimed_date %]</td> |
183 |
<td> |
|
|
184 |
[% IF ( lateorder.claimed_date ) %] |
185 |
<span title="[% lateorder.claimed_date %]">[% lateorder.claimed_date | $KohaDates %]</span> |
186 |
[% ELSE %] |
187 |
<span title="0000-00-00"></span> |
188 |
[% END %] |
189 |
</td> |
184 |
</tr> |
190 |
</tr> |
185 |
[% END %] |
191 |
[% END %] |
186 |
</tbody> |
192 |
</tbody> |
Lines 226-232
$(document).ready(function() {
Link Here
|
226 |
|
232 |
|
227 |
<li><label for="booksellerid">Vendor:</label> |
233 |
<li><label for="booksellerid">Vendor:</label> |
228 |
<select id="booksellerid" size="1" tabindex="" name="booksellerid"> |
234 |
<select id="booksellerid" size="1" tabindex="" name="booksellerid"> |
229 |
<option value=""/> |
235 |
<option value=""></option> |
230 |
[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %] |
236 |
[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %] |
231 |
[% IF ( SUPPLIER_LOO.selected ) %]<option value="[% SUPPLIER_LOO.id %]" selected="selected">[% SUPPLIER_LOO.name %]</option> |
237 |
[% IF ( SUPPLIER_LOO.selected ) %]<option value="[% SUPPLIER_LOO.id %]" selected="selected">[% SUPPLIER_LOO.name %]</option> |
232 |
[% ELSE %]<option value="[% SUPPLIER_LOO.id %]">[% SUPPLIER_LOO.name %]</option>[% END %] |
238 |
[% ELSE %]<option value="[% SUPPLIER_LOO.id %]">[% SUPPLIER_LOO.name %]</option>[% END %] |