[% USE raw %]
[% USE Asset %]
[% USE KohaDates %]
[% USE ItemTypes %]
[% USE Price %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
Fund: [% fund_code | html %]
Spent
Title
[% tp('noun', 'Order') | html %]
Vendor
Invoice
Item types
Received
Unit price
Date ordered
Date received
Subtotal
[% FOREACH order IN spent %]
[% order.title | html %]
[% order.ordernumber | html %]
[% order.vendorname | html %]
[% order.invoicenumber | html %]
[% FOREACH itemtype IN order.itemtypes %]
[% ItemTypes.GetDescription( itemtype ) | html %]
[% IF !loop.last() %] | [% END %]
[% END %]
[% order.quantityreceived | html %]
[% order.unitprice_tax_included | $Price %]
[% order.entrydate | $KohaDates %]
[% order.datereceived | $KohaDates %]
[% order.rowtotal | $Price %]
[% END %]
[% IF shipmentcosts.size || ( adjustments && adjustments.count > 0 ) %]
Sub total
[% subtotal | $Price %]
[% END %]
[% IF shipmentcosts.size %]
[% FOREACH shipmentcost IN shipmentcosts %]
Shipping cost for invoice
[% shipmentcost.invoicenumber | html %]
[% shipmentcost.shipmentcost | $Price %]
[% END %]
[% END %]
[% IF ( adjustments && adjustments.count > 0 ) %]
[% FOREACH adjustment IN adjustments %]
Adjustment cost for invoice
[% adjustment.invoice.invoicenumber | html %]
[% adjustment.adjustment | $Price %]
[% END %]
[% END %]
TOTAL
[% total | $Price %]
[% INCLUDE 'acquisitions-menu.inc' %]
[% MACRO jsinclude BLOCK %]
[% Asset.js("js/acquisitions-menu.js") | $raw %]
[% INCLUDE 'datatables.inc' %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]