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 id="acq_histsearch" class="acq">
20
<body id="acq_histsearch" class="acq">
Lines 62-68 Link Here
62
	</form>[% END %]
75
	</form>[% END %]
63
	[% IF ( suggestions_loop ) %]<h1>Search Results</h1>
76
	[% IF ( suggestions_loop ) %]<h1>Search Results</h1>
64
	<div id="acqui_histsearch">
77
	<div id="acqui_histsearch">
65
		<table>
78
		<table id="histsearcht">
79
            <thead>
66
			<tr>
80
			<tr>
67
				<th>Basket</th>
81
				<th>Basket</th>
68
				<th>Basket group</th>
82
				<th>Basket group</th>
Lines 74-80 Link Here
74
				<th>Quantity ordered</th>
88
				<th>Quantity ordered</th>
75
				<th>Unit cost</th>
89
				<th>Unit cost</th>
76
			</tr>
90
			</tr>
77
			
91
            </thead>
92
            <tbody>
78
			[% FOREACH suggestions_loo IN suggestions_loop %]
93
			[% FOREACH suggestions_loo IN suggestions_loop %]
79
				<tr>
94
				<tr>
80
                    <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td>
95
                    <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td>
Lines 94-99 Link Here
94
					<td>[% suggestions_loo.ecost %]</td>
109
					<td>[% suggestions_loo.ecost %]</td>
95
				</tr>
110
				</tr>
96
			[% END %]
111
			[% END %]
112
            </tbody>
97
		</table>
113
		</table>
98
	</div>[% ELSE %][% END %]
114
	</div>[% ELSE %][% END %]
99
115
100
- 

Return to bug 5345