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 [% ItemTypes.GetDescription( order.itype ) | html %]
62 [% order.quantityreceived | html %]
65 [% order.unitprice_tax_included | $Price %]
68 <span title="[% order.entrydate | html %]">[% order.entrydate | $KohaDates %]</span>
71 <span title="[% order.datereceived | html %]">[% order.datereceived | $KohaDates %]</span>
73 <td class="data cell">
74 [% order.rowtotal | $Price %]
80 [% IF shipmentcosts.size || ( adjustments && adjustments.count > 0 ) %]
82 <td colspan="9"> Sub total </td>
83 <td class="data"> [% subtotal | $Price %] </td>
86 [% IF shipmentcosts.size %]
87 [% FOREACH shipmentcost IN shipmentcosts %]
90 <td colspan="8">Shipping cost for invoice [% shipmentcost.invoicenumber | html %]</td>
91 <td class="data total">[% shipmentcost.shipmentcost | $Price %]</td>
95 [% IF ( adjustments && adjustments.count > 0 ) %]
96 [% FOREACH adjustment IN adjustments %]
99 <td colspan="8">Adjustment cost for invoice [% adjustment.invoiceid | html %]</td>
100 <td class="data total">[% adjustment.adjustment | $Price %]</td>
105 <td colspan="9">TOTAL</td>
106 <td class="data total">[% total | $Price %]</td>
112 </div> <!-- /.col-sm-10.col-sm-push-2 -->
114 <div class="col-sm-2 col-sm-pull-10">
116 [% INCLUDE 'acquisitions-menu.inc' %]
118 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
119 </div> <!-- /.row -->
121 [% MACRO jsinclude BLOCK %]
122 [% Asset.js("js/acquisitions-menu.js") | $raw %]
123 [% INCLUDE 'datatables.inc' %]
125 $(document).ready(function() {
126 $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
128 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
129 { "sType": "title-string", "aTargets" : [ "title-string" ] }
131 "sPaginationType": "four_button"
137 [% INCLUDE 'intranet-bottom.inc' %]