7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha › Acquisitions › Spent</title>
9 [% Asset.css("css/datatables.css") | $raw %]
10 [% INCLUDE 'doc-head-close.inc' %]
13 <body id="acq_spent" class="acq">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'acquisitions-search.inc' %]
17 <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>
19 <div class="main container-fluid">
21 <div class="col-sm-10 col-sm-push-2">
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 | uri %]">
47 [% order.title | html %]
51 [% order.ordernumber | html %]
54 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
57 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]">[% order.invoicenumber | html %]</a>
60 [% ItemTypes.GetDescription( order.itype ) | html %]
63 [% order.quantityreceived | html %]
66 [% order.unitprice_tax_included | $Price %]
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>
113 </div> <!-- /.col-sm-10.col-sm-push-2 -->
115 <div class="col-sm-2 col-sm-pull-10">
117 [% INCLUDE 'acquisitions-menu.inc' %]
119 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
120 </div> <!-- /.row -->
122 [% MACRO jsinclude BLOCK %]
123 [% Asset.js("js/acquisitions-menu.js") | $raw %]
124 [% INCLUDE 'datatables.inc' %]
126 $(document).ready(function() {
127 $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
129 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
130 { "sType": "title-string", "aTargets" : [ "title-string" ] }
132 "sPaginationType": "four_button"
138 [% INCLUDE 'intranet-bottom.inc' %]