6 [% PROCESS 'i18n.inc' %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 <title>Koha › Acquisitions › Spent</title>
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>
31 <th>[% tp('noun', 'Order') | html %]</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 [% FOREACH itemtype IN order.itemtypes %]
61 [% ItemTypes.GetDescription( itemtype ) | html %]
62 [% IF !loop.last() %] | [% END %]
66 [% order.quantityreceived | html %]
69 [% order.unitprice_tax_included | $Price %]
72 <span title="[% order.entrydate | html %]">[% order.entrydate | $KohaDates %]</span>
75 <span title="[% order.datereceived | html %]">[% order.datereceived | $KohaDates %]</span>
77 <td class="data cell">
78 [% order.rowtotal | $Price %]
84 [% IF shipmentcosts.size || ( adjustments && adjustments.count > 0 ) %]
86 <td colspan="9"> Sub total </td>
87 <td class="data"> [% subtotal | $Price %] </td>
90 [% IF shipmentcosts.size %]
91 [% FOREACH shipmentcost IN shipmentcosts %]
94 <td colspan="8">Shipping cost for invoice
95 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% shipmentcost.invoiceid | uri %]">
96 [% shipmentcost.invoicenumber | html %]
99 <td class="data total">[% shipmentcost.shipmentcost | $Price %]</td>
103 [% IF ( adjustments && adjustments.count > 0 ) %]
104 [% FOREACH adjustment IN adjustments %]
107 <td colspan="8">Adjustment cost for invoice
108 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% adjustment.invoiceid | uri %]">
109 [% adjustment.invoice.invoicenumber | html %]
112 <td class="data total">[% adjustment.adjustment | $Price %]</td>
117 <td colspan="9">TOTAL</td>
118 <td class="data total">[% total | $Price %]</td>
124 </div> <!-- /.col-sm-10.col-sm-push-2 -->
126 <div class="col-sm-2 col-sm-pull-10">
128 [% INCLUDE 'acquisitions-menu.inc' %]
130 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
131 </div> <!-- /.row -->
133 [% MACRO jsinclude BLOCK %]
134 [% Asset.js("js/acquisitions-menu.js") | $raw %]
135 [% INCLUDE 'datatables.inc' %]
137 $(document).ready(function() {
138 $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
140 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
141 { "sType": "title-string", "aTargets" : [ "title-string" ] }
143 "sPaginationType": "full"
149 [% INCLUDE 'intranet-bottom.inc' %]