6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Acquisitions › Spent</title>
8 [% Asset.css("css/datatables.css") | $raw %]
9 [% INCLUDE 'doc-head-close.inc' %]
12 <body id="acq_spent" class="acq">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'acquisitions-search.inc' %]
16 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › Spent - [% fund_code | html %]</div>
18 <div id="doc3" class="yui-t2">
24 <h1>Fund: [% fund_code | html %]</h1>
30 <th class="anti-the">Title</th>
37 <th class="title-string">Date ordered</th>
38 <th class="title-string">Date received</th>
43 [% FOREACH order IN spent %]
46 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber | html %]">
47 [% order.title | html %]
51 [% order.ordernumber | html %]
54 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid | html %]">[% order.booksellerid | html %]</a>
57 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | html %]">[% order.invoicenumber | html %]</a>
60 [% ItemTypes.GetDescription( order.itype ) | html %]
63 [% order.quantityreceived | html %]
66 [% order.unitprice | html %]
69 <span title="[% order.entrydate | html %]">[% order.entrydate | $KohaDates %]</span>
72 <span title="[% order.datereceived | html %]">[% order.datereceived | $KohaDates %]</span>
74 <td class="data cell">
75 [% order.rowtotal | html %]
81 [% IF shipmentcosts.size || ( adjustments && adjustments.count > 0 ) %]
83 <td colspan="9"> Sub total </td>
84 <td class="data"> [% subtotal | html %] </td>
87 [% IF shipmentcosts.size %]
88 [% FOREACH shipmentcost IN shipmentcosts %]
91 <td colspan="8">Shipping cost for invoice [% shipmentcost.invoicenumber | html %]</td>
92 <td class="data total">[% shipmentcost.shipmentcost | html %]</td>
96 [% IF ( adjustments && adjustments.count > 0 ) %]
97 [% FOREACH adjustment IN adjustments %]
100 <td colspan="8">Adjustment cost for invoice [% adjustment.invoiceid | html %]</td>
101 <td class="data total">[% adjustment.adjustment | html %]</td>
106 <td colspan="9">TOTAL</td>
107 <td class="data total">[% total | html %]</td>
115 [% INCLUDE 'acquisitions-menu.inc' %]
119 [% MACRO jsinclude BLOCK %]
120 [% Asset.js("js/acquisitions-menu.js") | $raw %]
121 [% INCLUDE 'datatables.inc' %]
122 <script type="text/javascript">
123 $(document).ready(function() {
124 $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
126 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
127 { "sType": "title-string", "aTargets" : [ "title-string" ] }
129 "sPaginationType": "four_button"
135 [% INCLUDE 'intranet-bottom.inc' %]