|
Lines 1-6
Link Here
|
| 1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
| 2 |
<title>Koha › Acquisitions › Late orders</title> |
2 |
<title>Koha › Acquisitions › Late orders</title> |
| 3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
4 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
| 4 |
<script type="text/javascript"> |
5 |
<script type="text/javascript"> |
| 5 |
//<![CDATA[ |
6 |
//<![CDATA[ |
| 6 |
$(document).ready(function() { |
7 |
$(document).ready(function() { |
|
Lines 12-17
$(document).ready(function() {
Link Here
|
| 12 |
$("input:checkbox[name=claim_for]").attr('disabled', false); |
13 |
$("input:checkbox[name=claim_for]").attr('disabled', false); |
| 13 |
} |
14 |
} |
| 14 |
}); |
15 |
}); |
|
|
16 |
$('#CheckAll').click(function(){ $("#late_orders td").checkCheckboxes();}); |
| 17 |
$('#CheckNone').click(function(){ $("#late_orders td").unCheckCheckboxes();}); |
| 15 |
}); |
18 |
}); |
| 16 |
//]]> |
19 |
//]]> |
| 17 |
</script> |
20 |
</script> |
|
Lines 35-41
$(document).ready(function() {
Link Here
|
| 35 |
<div class="error">[% error_claim %]</div> |
38 |
<div class="error">[% error_claim %]</div> |
| 36 |
[% END %] |
39 |
[% END %] |
| 37 |
[% IF info_claim %] |
40 |
[% IF info_claim %] |
| 38 |
<div class="info">[% info_claim %]</div> |
41 |
<div class="info">Email has been sent.</div> |
| 39 |
[% END %] |
42 |
[% END %] |
| 40 |
[% IF ( lateorders ) %] |
43 |
[% IF ( lateorders ) %] |
| 41 |
<form action="lateorders.pl" name="claim" method="post"> |
44 |
<form action="lateorders.pl" name="claim" method="post"> |
|
Lines 50-56
$(document).ready(function() {
Link Here
|
| 50 |
</select> |
53 |
</select> |
| 51 |
</p> |
54 |
</p> |
| 52 |
[% END %] |
55 |
[% END %] |
| 53 |
<table> |
56 |
<table id="late_orders"> |
| 54 |
<tr> |
57 |
<tr> |
| 55 |
<th>Order Date</th> |
58 |
<th>Order Date</th> |
| 56 |
<th>Vendor</th> |
59 |
<th>Vendor</th> |
|
Lines 61-67
$(document).ready(function() {
Link Here
|
| 61 |
<th>Claimed date</th> |
64 |
<th>Claimed date</th> |
| 62 |
<!-- TMPL_IF name="Supplier" --> |
65 |
<!-- TMPL_IF name="Supplier" --> |
| 63 |
[% IF Supplier %] |
66 |
[% IF Supplier %] |
| 64 |
<th><input type="checkbox" id="checkAll"></th> |
67 |
<th><a id="CheckAll" href="#">Check all</a><br /><a id="CheckNone" href="#">Uncheck all</a></th> |
| 65 |
[% ELSE %] |
68 |
[% ELSE %] |
| 66 |
<th></th> |
69 |
<th></th> |
| 67 |
[% END %] |
70 |
[% END %] |
|
Lines 103-109
$(document).ready(function() {
Link Here
|
| 103 |
<td>[% lateorder.claimed_date %]</td> |
106 |
<td>[% lateorder.claimed_date %]</td> |
| 104 |
<td> |
107 |
<td> |
| 105 |
[% UNLESS lateorder.budget_lock %] |
108 |
[% UNLESS lateorder.budget_lock %] |
| 106 |
<input type="checkbox" name="claim_for" value="[% lateorder.ordernumber %]" supplierid="[% lateorder.supplierid %]"/> |
109 |
<input type="checkbox" class="checkbox" name="claim_for" value="[% lateorder.ordernumber %]" supplierid="[% lateorder.supplierid %]"/> |
| 107 |
[% END %] |
110 |
[% END %] |
| 108 |
</td> |
111 |
</td> |
| 109 |
</td> |
112 |
</td> |
| 110 |
- |
|
|