7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha › Acquisitions › Spent</title>
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 class="main container-fluid">
20 <div class="col-sm-10 col-sm-push-2">
23 <h1>Fund: [% fund_code | html %]</h1>
29 <th class="anti-the">Title</th>
36 <th class="title-string">Date ordered</th>
37 <th class="title-string">Date received</th>
42 [% FOREACH order IN spent %]
45 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber | uri %]">
46 [% order.title | html %]
50 [% order.ordernumber | html %]
53 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
56 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]">[% order.invoicenumber | html %]</a>
59 [% FOREACH itemtype IN order.itemtypes %]
60 [% IF !(loop.count() mod 2) %] | [% END %]
61 [% ItemTypes.GetDescription( itemtype ) | html %]
65 [% order.quantityreceived | html %]
68 [% order.unitprice_tax_included | $Price %]
71 <span title="[% order.entrydate | html %]">[% order.entrydate | $KohaDates %]</span>
74 <span title="[% order.datereceived | html %]">[% order.datereceived | $KohaDates %]</span>
76 <td class="data cell">
77 [% order.rowtotal | $Price %]
83 [% IF shipmentcosts.size || ( adjustments && adjustments.count > 0 ) %]
85 <td colspan="9"> Sub total </td>
86 <td class="data"> [% subtotal | $Price %] </td>
89 [% IF shipmentcosts.size %]
90 [% FOREACH shipmentcost IN shipmentcosts %]
93 <td colspan="8">Shipping cost for invoice
94 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% shipmentcost.invoiceid | uri %]">
95 [% shipmentcost.invoicenumber | html %]
98 <td class="data total">[% shipmentcost.shipmentcost | $Price %]</td>
102 [% IF ( adjustments && adjustments.count > 0 ) %]
103 [% FOREACH adjustment IN adjustments %]
106 <td colspan="8">Adjustment cost for invoice
107 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% adjustment.invoiceid | uri %]">
108 [% adjustment.invoice.invoicenumber | html %]
111 <td class="data total">[% adjustment.adjustment | $Price %]</td>
116 <td colspan="9">TOTAL</td>
117 <td class="data total">[% total | $Price %]</td>
123 </div> <!-- /.col-sm-10.col-sm-push-2 -->
125 <div class="col-sm-2 col-sm-pull-10">
127 [% INCLUDE 'acquisitions-menu.inc' %]
129 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
130 </div> <!-- /.row -->
132 [% MACRO jsinclude BLOCK %]
133 [% Asset.js("js/acquisitions-menu.js") | $raw %]
134 [% INCLUDE 'datatables.inc' %]
136 $(document).ready(function() {
137 $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
139 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
140 { "sType": "title-string", "aTargets" : [ "title-string" ] }
142 "sPaginationType": "full"
148 [% INCLUDE 'intranet-bottom.inc' %]