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 [% WRAPPER 'header.inc' %]
15 [% INCLUDE 'acquisitions-search.inc' %]
18 [% WRAPPER 'sub-header.inc' %]
19 [% WRAPPER breadcrumbs %]
20 [% WRAPPER breadcrumb_item %]
21 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
23 [% WRAPPER breadcrumb_item bc_active= 1 %]
24 <span>Spent - [% fund_code | html %]</span>
26 [% END #/ WRAPPER breadcrumbs %]
27 [% END #/ WRAPPER sub-header.inc %]
29 <div class="main container-fluid">
31 <div class="col-sm-10 col-sm-push-2">
34 <h1>Spent - Fund: [% fund_code | html %]</h1>
36 <div class="page-section">
41 <th class="anti-the">Title</th>
42 <th>[% tp('noun', 'Order') | html %]</th>
49 <th>Date received</th>
54 [% FOREACH order IN spent %]
57 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber | uri %]">
58 [% order.title | html %]
62 [% order.ordernumber | html %]
65 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
68 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]">[% order.invoicenumber | html %]</a>
71 [% FOREACH itemtype IN order.itemtypes %]
72 [% ItemTypes.GetDescription( itemtype ) | html %]
73 [% IF !loop.last() %] | [% END %]
77 [% order.quantityreceived | html %]
80 [% order.unitprice_tax_included | $Price %]
82 <td class="cell" data-order="[% order.entrydate | html %]">
83 [% order.entrydate | $KohaDates %]
85 <td class="cell" data-order="[% order.datereceived | html %]">
86 [% order.datereceived | $KohaDates %]
88 <td class="data cell">
89 [% order.rowtotal | $Price %]
95 [% IF shipmentcosts.size || ( adjustments && adjustments.count > 0 ) %]
97 <td colspan="9"> Sub total </td>
98 <td class="data"> [% subtotal | $Price %] </td>
101 [% IF shipmentcosts.size %]
102 [% FOREACH shipmentcost IN shipmentcosts %]
105 <td colspan="8">Shipping cost for invoice
106 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% shipmentcost.invoiceid | uri %]">
107 [% shipmentcost.invoicenumber | html %]
110 <td class="data total">[% shipmentcost.shipmentcost | $Price %]</td>
114 [% IF ( adjustments && adjustments.count > 0 ) %]
115 [% FOREACH adjustment IN adjustments %]
118 <td colspan="8">Adjustment cost for invoice
119 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% adjustment.invoiceid | uri %]">
120 [% adjustment.invoice.invoicenumber | html %]
123 <td class="data total">[% adjustment.adjustment | $Price %]</td>
128 <td colspan="9">TOTAL</td>
129 <td class="data total">[% total | $Price %]</td>
134 </div> <!-- /.page-section -->
137 </div> <!-- /.col-sm-10.col-sm-push-2 -->
139 <div class="col-sm-2 col-sm-pull-10">
141 [% INCLUDE 'acquisitions-menu.inc' %]
143 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
144 </div> <!-- /.row -->
146 [% MACRO jsinclude BLOCK %]
147 [% Asset.js("js/acquisitions-menu.js") | $raw %]
148 [% INCLUDE 'datatables.inc' %]
150 $(document).ready(function() {
151 $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
153 { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
155 "sPaginationType": "full"
161 [% INCLUDE 'intranet-bottom.inc' %]