View | Details | Raw Unified | Return to bug 5345
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt (-3 / +18 lines)
Lines 1-7 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( suggestions_loop ) %]Orders search &rsaquo; Search Results[% ELSE %]Order search[% END %]</title>
3
<title>Koha &rsaquo; Acquisitions &rsaquo; [% IF ( suggestions_loop ) %]Orders search &rsaquo; Search Results[% ELSE %]Order search[% END %]</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>
9
<script type="text/javascript">
10
//<![CDATA[
11
 $(document).ready(function() {
12
    var histsearcht = $("#histsearcht").dataTable($.extend(true, {}, dataTablesDefaults, {
13
        "sPaginationType": "four_button"
14
    } ) );
15
 });
16
 //]]>
17
</script>
5
[% INCLUDE 'calendar.inc' %]
18
[% INCLUDE 'calendar.inc' %]
6
</head>
19
</head>
7
<body>
20
<body>
Lines 61-67 Link Here
61
	</form>[% END %]
74
	</form>[% END %]
62
	[% IF ( suggestions_loop ) %]<h1>Search Results</h1>
75
	[% IF ( suggestions_loop ) %]<h1>Search Results</h1>
63
	<div id="acqui_histsearch">
76
	<div id="acqui_histsearch">
64
		<table>
77
		<table id="histsearcht">
78
            <thead>
65
			<tr>
79
			<tr>
66
				<th>Basket</th>
80
				<th>Basket</th>
67
				<th>Basket group</th>
81
				<th>Basket group</th>
Lines 73-79 Link Here
73
				<th>Quantity ordered</th>
87
				<th>Quantity ordered</th>
74
				<th>Unit cost</th>
88
				<th>Unit cost</th>
75
			</tr>
89
			</tr>
76
			
90
            </thead>
91
            <tbody>
77
			[% FOREACH suggestions_loo IN suggestions_loop %]
92
			[% FOREACH suggestions_loo IN suggestions_loop %]
78
				<tr>
93
				<tr>
79
                    <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td>
94
                    <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td>
Lines 93-98 Link Here
93
					<td>[% suggestions_loo.ecost %]</td>
108
					<td>[% suggestions_loo.ecost %]</td>
94
				</tr>
109
				</tr>
95
			[% END %]
110
			[% END %]
111
            </tbody>
96
		</table>
112
		</table>
97
	</div>[% ELSE %][% END %]
113
	</div>[% ELSE %][% END %]
98
114
99
- 

Return to bug 5345