6 [% PROCESS 'i18n.inc' %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 <title>Spent › Acquisitions › Koha</title>
10 [% INCLUDE 'doc-head-close.inc' %]
13 <body id="acq_spent" class="acq">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'acquisitions-search.inc' %]
18 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
24 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
27 <a href="#" aria-current="page">
28 Spent - [% fund_code | html %]
34 <div class="main container-fluid">
36 <div class="col-sm-10 col-sm-push-2">
39 <h1>Spent - Fund: [% fund_code | html %]</h1>
44 <th class="anti-the">Title</th>
45 <th>[% tp('noun', 'Order') | html %]</th>
52 <th>Date received</th>
57 [% FOREACH order IN spent %]
60 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber | uri %]">
61 [% order.title | html %]
65 [% order.ordernumber | html %]
68 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
71 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]">[% order.invoicenumber | html %]</a>
74 [% FOREACH itemtype IN order.itemtypes %]
75 [% ItemTypes.GetDescription( itemtype ) | html %]
76 [% IF !loop.last() %] | [% END %]
80 [% order.quantityreceived | html %]
83 [% order.unitprice_tax_included | $Price %]
85 <td class="cell" data-order="[% order.entrydate | html %]">
86 [% order.entrydate | $KohaDates %]
88 <td class="cell" data-order="[% order.datereceived | html %]">
89 [% order.datereceived | $KohaDates %]
91 <td class="data cell">
92 [% order.rowtotal | $Price %]
98 [% IF shipmentcosts.size || ( adjustments && adjustments.count > 0 ) %]
100 <td colspan="9"> Sub total </td>
101 <td class="data"> [% subtotal | $Price %] </td>
104 [% IF shipmentcosts.size %]
105 [% FOREACH shipmentcost IN shipmentcosts %]
108 <td colspan="8">Shipping cost for invoice
109 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% shipmentcost.invoiceid | uri %]">
110 [% shipmentcost.invoicenumber | html %]
113 <td class="data total">[% shipmentcost.shipmentcost | $Price %]</td>
117 [% IF ( adjustments && adjustments.count > 0 ) %]
118 [% FOREACH adjustment IN adjustments %]
121 <td colspan="8">Adjustment cost for invoice
122 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% adjustment.invoiceid | uri %]">
123 [% adjustment.invoice.invoicenumber | html %]
126 <td class="data total">[% adjustment.adjustment | $Price %]</td>
131 <td colspan="9">TOTAL</td>
132 <td class="data total">[% total | $Price %]</td>
138 </div> <!-- /.col-sm-10.col-sm-push-2 -->
140 <div class="col-sm-2 col-sm-pull-10">
142 [% INCLUDE 'acquisitions-menu.inc' %]
144 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
145 </div> <!-- /.row -->
147 [% MACRO jsinclude BLOCK %]
148 [% Asset.js("js/acquisitions-menu.js") | $raw %]
149 [% INCLUDE 'datatables.inc' %]
151 $(document).ready(function() {
152 $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
154 { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
156 "sPaginationType": "full"
162 [% INCLUDE 'intranet-bottom.inc' %]