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 75-81 Link Here
75
				<th>Quantity ordered</th>
89
				<th>Quantity ordered</th>
76
				<th>Unit cost</th>
90
				<th>Unit cost</th>
77
			</tr>
91
			</tr>
78
			
92
            </thead>
93
            <tbody>
79
			[% FOREACH suggestions_loo IN suggestions_loop %]
94
			[% FOREACH suggestions_loo IN suggestions_loop %]
80
				<tr>
95
				<tr>
81
                    <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td>
96
                    <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td>
Lines 96-101 Link Here
96
					<td>[% suggestions_loo.ecost %]</td>
111
					<td>[% suggestions_loo.ecost %]</td>
97
				</tr>
112
				</tr>
98
			[% END %]
113
			[% END %]
114
            </tbody>
99
		</table>
115
		</table>
100
	</div>[% ELSE %][% END %]
116
	</div>[% ELSE %][% END %]
101
117
102
- 

Return to bug 5345