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 %] |