+[% USE Asset %]
[% USE KohaDates %]
[% USE ItemTypes %]
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Acquisitions › Ordered</title>
-<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
+[% Asset.css("css/datatables.css") %]
[% INCLUDE 'doc-head-close.inc' %]
-[% INCLUDE 'datatables.inc' %]
-<script type="text/javascript">
-//<![CDATA[
- $(document).ready(function() {
- $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
- "aoColumnDefs": [
- { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
- { "sType": "title-string", "aTargets" : [ "title-string" ] }
- ],
- "sPaginationType": "four_button"
- } ) );
- });
- //]]>
-</script>
</head>
+
<body id="acq_ordered" class="acq">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'acquisitions-search.inc' %]
[% FOREACH order IN ordered %]
<tr>
<td class="cell">
+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">
[% order.title %]
+ </a>
</td>
<td class="cell">
[% IF ( CAN_user_acquisition_order_manage ) %]
[% END %]
</tbody>
<tfoot>
+ [% IF ( adjustments && adjustments.count > 0 ) %]
+ [% FOREACH adjustment IN adjustments %]
+ <tr>
+ <td></td>
+ <td colspan="6">Adjustment cost for invoice [% adjustment.invoiceid %]</td>
+ <td class="data total">[% adjustment.adjustment %]</td>
+ </tr>
+ [% END %]
+
+ [% END %]
<tr>
<td> Total </td>
<td> </td>
[% INCLUDE 'acquisitions-menu.inc' %]
</div>
</div>
+
+[% MACRO jsinclude BLOCK %]
+ [% Asset.js("js/acquisitions-menu.js") %]
+ [% INCLUDE 'datatables.inc' %]
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
+ "aoColumnDefs": [
+ { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
+ { "sType": "title-string", "aTargets" : [ "title-string" ] }
+ ],
+ "sPaginationType": "four_button"
+ }));
+ });
+ </script>
+[% END %]
+
[% INCLUDE 'intranet-bottom.inc' %]