Lines 1-12
Link Here
|
1 |
[% USE KohaDates %] |
1 |
[% USE KohaDates %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Acquisitions › Late orders</title> |
3 |
<title>Koha › Acquisitions › Late orders</title> |
|
|
4 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
6 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
7 |
[% INCLUDE 'datatables-strings.inc' %] |
8 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
9 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
6 |
[% INCLUDE 'calendar.inc' %] |
10 |
[% INCLUDE 'calendar.inc' %] |
7 |
<script type="text/javascript"> |
11 |
<script type="text/javascript"> |
8 |
//<![CDATA[ |
12 |
//<![CDATA[ |
9 |
$(document).ready(function() { |
13 |
$(document).ready(function() { |
|
|
14 |
var late_orderst = $("#late_orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
15 |
"aoColumnDefs": [ |
16 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
17 |
], |
18 |
"sPaginationType": "four_button" |
19 |
} ) ); |
20 |
|
10 |
$("input:checkbox[name=claim_for]").click(function(){ |
21 |
$("input:checkbox[name=claim_for]").click(function(){ |
11 |
var booksellerid = $(this).attr('booksellerid'); |
22 |
var booksellerid = $(this).attr('booksellerid'); |
12 |
if ( $("input:checkbox[name=claim_for]:checked").length > 0) { |
23 |
if ( $("input:checkbox[name=claim_for]:checked").length > 0) { |
Lines 60-65
$(document).ready(function() {
Link Here
|
60 |
</p> |
71 |
</p> |
61 |
[% END %] |
72 |
[% END %] |
62 |
<table id="late_orders"> |
73 |
<table id="late_orders"> |
|
|
74 |
<thead> |
63 |
<tr> |
75 |
<tr> |
64 |
<th>Order date</th> |
76 |
<th>Order date</th> |
65 |
<th>Estimated delivery date</th> |
77 |
<th>Estimated delivery date</th> |
Lines 75-80
$(document).ready(function() {
Link Here
|
75 |
<th></th> |
87 |
<th></th> |
76 |
[% END %] |
88 |
[% END %] |
77 |
</tr> |
89 |
</tr> |
|
|
90 |
</thead> |
91 |
<tbody> |
78 |
[% FOREACH lateorder IN lateorders %] |
92 |
[% FOREACH lateorder IN lateorders %] |
79 |
[% UNLESS ( loop.odd ) %]<tr class="highlight"> |
93 |
[% UNLESS ( loop.odd ) %]<tr class="highlight"> |
80 |
[% ELSE %]<tr>[% END %] |
94 |
[% ELSE %]<tr>[% END %] |
Lines 123-131
$(document).ready(function() {
Link Here
|
123 |
</td> |
137 |
</td> |
124 |
</tr> |
138 |
</tr> |
125 |
[% END %] |
139 |
[% END %] |
|
|
140 |
</tbody> |
141 |
<tfoot> |
126 |
<tr> |
142 |
<tr> |
127 |
<th>Total</th> |
143 |
<th>Total</th> |
128 |
<th colspan="3"> </th> |
144 |
<th> </th> |
|
|
145 |
<th> </th> |
146 |
<th> </th> |
129 |
<th>[% total %]</th> |
147 |
<th>[% total %]</th> |
130 |
<th> </th> |
148 |
<th> </th> |
131 |
<th> </th> |
149 |
<th> </th> |
Lines 134-141
$(document).ready(function() {
Link Here
|
134 |
<input type="submit" value="Claim Order" /> |
152 |
<input type="submit" value="Claim Order" /> |
135 |
</td> |
153 |
</td> |
136 |
</tr> |
154 |
</tr> |
|
|
155 |
</tfoot> |
137 |
</table> |
156 |
</table> |
138 |
</form> |
157 |
</form> |
139 |
[% ELSE %]<p>There are no late orders.</p> |
158 |
[% ELSE %]<p>There are no late orders.</p> |
140 |
[% END %] |
159 |
[% END %] |
141 |
</div> |
160 |
</div> |
142 |
- |
|
|