Lines 1-7
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Acquisitions › Receive shipment from vendor [% name %]</title> |
2 |
<title>Koha › Acquisitions › Receive shipment from vendor [% name %]</title> |
|
|
3 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'calendar.inc' %] |
5 |
[% INCLUDE 'calendar.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> |
9 |
<script type="text/javascript"> |
10 |
//<![CDATA[ |
11 |
$(document).ready(function() { |
12 |
var parcelst = $("#parcelst").dataTable($.extend(true, {}, dataTablesDefaults, { |
13 |
"sPaginationType": "four_button" |
14 |
} ) ); |
15 |
}); |
16 |
//]]> |
17 |
</script> |
5 |
</head> |
18 |
</head> |
6 |
<body> |
19 |
<body> |
7 |
[% INCLUDE 'header.inc' %] |
20 |
[% INCLUDE 'header.inc' %] |
Lines 22-28
Link Here
|
22 |
<div id="resultlist"> |
35 |
<div id="resultlist"> |
23 |
<!-- Search Results Table --> |
36 |
<!-- Search Results Table --> |
24 |
|
37 |
|
25 |
<table class="small"> |
38 |
<table class="small" id="parcelst"> |
|
|
39 |
<thead> |
26 |
<tr> |
40 |
<tr> |
27 |
<th>Line</th> |
41 |
<th>Line</th> |
28 |
<th>Date Received</th> |
42 |
<th>Date Received</th> |
Lines 31-64
Link Here
|
31 |
<th>Biblio count</th> |
45 |
<th>Biblio count</th> |
32 |
<th>Items expected</th> |
46 |
<th>Items expected</th> |
33 |
</tr> |
47 |
</tr> |
34 |
<!-- Actual Search Results --> |
48 |
</thead> |
35 |
[% FOREACH searchresult IN searchresults %] |
49 |
<tbody> |
36 |
[% UNLESS ( loop.odd ) %] |
50 |
<!-- Actual Search Results --> |
37 |
<tr class="highlight"> |
51 |
[% FOREACH searchresult IN searchresults %] |
38 |
[% ELSE %] |
52 |
[% UNLESS ( loop.odd ) %] |
39 |
<tr> |
53 |
<tr class="highlight"> |
|
|
54 |
[% ELSE %] |
55 |
<tr> |
56 |
[% END %] |
57 |
<td> |
58 |
[% searchresult.number %] |
59 |
</td> |
60 |
<td> |
61 |
<a href="/cgi-bin/koha/acqui/parcel.pl?type=intra&booksellerid=[% booksellerid |url %]&datereceived=[% searchresult.raw_datereceived |url %][% IF ( searchresult.code ) %]&invoice=[% searchresult.code |url %][% END %]"> |
62 |
[% searchresult.datereceived %]</a> |
63 |
</td> |
64 |
<td> |
65 |
[% IF ( searchresult.code ) %][% searchresult.code %][% ELSE %]<acronym title="not available">n/a</acronym>[% END %] |
66 |
</td> |
67 |
<td> |
68 |
[% searchresult.reccount %] |
69 |
</td> |
70 |
<td> |
71 |
[% searchresult.bibcount %] |
72 |
</td> |
73 |
<td> |
74 |
[% searchresult.itemcount %] |
75 |
</td> |
76 |
</tr> |
40 |
[% END %] |
77 |
[% END %] |
41 |
<td> |
78 |
</tbody> |
42 |
[% searchresult.number %] |
79 |
>>>>>>> Bug 5345: DataTables integration in acquisition module [12] |
43 |
</td> |
|
|
44 |
<td> |
45 |
<a href="/cgi-bin/koha/acqui/parcel.pl?type=intra&booksellerid=[% booksellerid |url %]&datereceived=[% searchresult.raw_datereceived |url %][% IF ( searchresult.code ) %]&invoice=[% searchresult.code |url %][% END %]"> |
46 |
[% searchresult.datereceived %]</a> |
47 |
</td> |
48 |
<td> |
49 |
[% IF ( searchresult.code ) %][% searchresult.code %][% ELSE %]<acronym title="not available">n/a</acronym>[% END %] |
50 |
</td> |
51 |
<td> |
52 |
[% searchresult.reccount %] |
53 |
</td> |
54 |
<td> |
55 |
[% searchresult.bibcount %] |
56 |
</td> |
57 |
<td> |
58 |
[% searchresult.itemcount %] |
59 |
</td> |
60 |
</tr> |
61 |
[% END %] |
62 |
</table> |
80 |
</table> |
63 |
|
81 |
|
64 |
<div id="resultnumber"> |
82 |
<div id="resultnumber"> |
65 |
- |
|
|