Bug 8596 - Reports interface date picker doesn't force ISO formatted dates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / spent.tt
index a944419..d78a244 100644 (file)
@@ -1,9 +1,22 @@
 [% USE KohaDates %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Acquisitions &rsaquo; Spent</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>
+<body id="acq_spent" class="acq">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'acquisitions-search.inc' %]
 
        <th> Invoice </th>
        <th> Itemtype </th>
        <th> Received </th>
-       <th> Unit Price </th>
-       <th> Freight per Item </th>
-       <th> Date Ordered </th>
-       <th> Date Received </th>
+    <th> Unit price </th>
+    <th> Freight per item </th>
+    <th> Date ordered </th>
+    <th> Date received </th>
        <th> Subtotal </th>
     </tr>
     </thead>