Bug 5345: DataTables integration in acquisition module [10]
ordered.tt Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This commit is contained in:
parent
8231df1a42
commit
d89396d3d7
|
|
@ -1,7 +1,20 @@
|
|||
[% USE KohaDates %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha › Acquisitions › Ordered</title>
|
||||
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
|
||||
[% INCLUDE 'datatables-strings.inc' %]
|
||||
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(document).ready(function() {
|
||||
var spent = $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
|
||||
"sPaginationType": "four_button"
|
||||
} ) );
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
<body id="acq_ordered" class="acq">
|
||||
[% INCLUDE 'header.inc' %]
|
||||
|
|
@ -31,7 +44,7 @@
|
|||
<th> Subtotal </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
[% FOREACH order IN ordered %]
|
||||
[% IF loop.odd %]
|
||||
<tr class="highlight">
|
||||
|
|
@ -68,7 +81,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td> Total </td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue