6 [% PROCESS 'i18n.inc' %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 <title>[% FILTER collapse %]
10 [% t("Spent") | html %] ›
11 [% t("Acquisitions") | html %] ›
12 [% t("Koha") | html %]
14 [% INCLUDE 'doc-head-close.inc' %]
17 <body id="acq_spent" class="acq">
18 [% WRAPPER 'header.inc' %]
19 [% INCLUDE 'acquisitions-search.inc' %]
22 [% WRAPPER 'sub-header.inc' %]
23 [% WRAPPER breadcrumbs %]
24 [% WRAPPER breadcrumb_item %]
25 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
27 [% WRAPPER breadcrumb_item bc_active= 1 %]
28 <span>Spent - [% fund_code | html %]</span>
30 [% END #/ WRAPPER breadcrumbs %]
31 [% END #/ WRAPPER sub-header.inc %]
33 <div class="main container-fluid">
35 <div class="col-sm-10 col-sm-push-2">
38 <h1>Spent - Fund: [% fund_code | html %]</h1>
40 <div class="page-section">
45 <th class="anti-the">Title</th>
46 <th>[% tp('noun', 'Order') | html %]</th>
53 <th>Date received</th>
58 [% FOREACH order IN spent %]
61 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber | uri %]">
62 [% order.title | html %]
66 [% order.ordernumber | html %]
69 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
72 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]">[% order.invoicenumber | html %]</a>
75 [% FOREACH itemtype IN order.itemtypes %]
76 [% ItemTypes.GetDescription( itemtype ) | html %]
77 [% IF !loop.last() %] | [% END %]
81 [% order.quantityreceived | html %]
84 [% IF Koha.Preference('CalculateFundValuesIncludingTax') %]
85 [% order.unitprice_tax_included | $Price %]
87 [% order.unitprice_tax_excluded | $Price %]
90 <td class="cell" data-order="[% order.entrydate | html %]">
91 [% order.entrydate | $KohaDates %]
93 <td class="cell" data-order="[% order.datereceived | html %]">
94 [% order.datereceived | $KohaDates %]
96 <td class="data cell">
97 [% order.rowtotal | $Price %]
103 [% IF shipmentcosts.size || ( adjustments && adjustments.count > 0 ) %]
105 <td colspan="9"> Sub total </td>
106 <td class="data"> [% subtotal | $Price %] </td>
109 [% IF shipmentcosts.size %]
110 [% FOREACH shipmentcost IN shipmentcosts %]
113 <td colspan="8">Shipping cost for invoice
114 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% shipmentcost.invoiceid | uri %]">
115 [% shipmentcost.invoicenumber | html %]
118 <td class="data total">[% shipmentcost.shipmentcost | $Price %]</td>
122 [% IF ( adjustments && adjustments.count > 0 ) %]
123 [% FOREACH adjustment IN adjustments %]
126 <td colspan="8">Adjustment cost for invoice
127 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% adjustment.invoiceid | uri %]">
128 [% adjustment.invoice.invoicenumber | html %]
131 <td class="data total">[% adjustment.adjustment | $Price %]</td>
136 <td colspan="9">TOTAL</td>
137 <td class="data total">[% total | $Price %]</td>
142 </div> <!-- /.page-section -->
145 </div> <!-- /.col-sm-10.col-sm-push-2 -->
147 <div class="col-sm-2 col-sm-pull-10">
149 [% INCLUDE 'acquisitions-menu.inc' %]
151 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
152 </div> <!-- /.row -->
154 [% MACRO jsinclude BLOCK %]
155 [% Asset.js("js/acquisitions-menu.js") | $raw %]
156 [% INCLUDE 'datatables.inc' %]
158 $(document).ready(function() {
159 $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
161 { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
163 "sPaginationType": "full"
169 [% INCLUDE 'intranet-bottom.inc' %]