[% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE Price %] [% SET footerjs = 1 %] [% USE AuthorisedValues %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › Invoice [% Asset.css("css/datatables.css") %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %]
[% IF ( modified ) %]

Invoice has been modified

[% END %]

Invoice: [% invoicenumber %]

Vendor: [% suppliername %]

  1. Required
  2. [% IF ( invoiceclosedate ) %]
  3. Status: Closed on [% invoiceclosedate | $KohaDates %].
  4. [% ELSE %]
  5. Status: Open.
  6. [% END %]
[% UNLESS orders_loop.size %] Delete [% END %]

Adjustments

[% IF (adjustments && adjustments.count > 0) %] [% total_adj = 0 %] [% FOREACH adjustment IN adjustments %] [% total_adj = total_adj + adjustment.adjustment %] [% IF adjustment.encumber_open %] [% ELSE %] [% END %] [% END %]
Id Amount Reason Note Fund Encumber while invoice open  
[% adjustment.adjustment_id %] [% reasons = AuthorisedValues.Get("ADJ_REASON") %] [% IF reasons.0 %] [% ELSE %]

None

[% END %]
Delete
[% END %]

Add an adjustment

Go to receipt page [% IF Koha.Preference('AcqEnableFiles') %]| Manage invoice files[% END %]

Invoice details

[% IF orders_loop.size %] [% FOREACH order IN orders_loop %] [% END %] [% FOR tf IN foot_loop %] [% END %]
Summary Library Actual cost tax exc. Actual cost tax inc. Qty. Total tax exc. ([% currency.symbol %]) Total tax inc. ([% currency.symbol %]) GST % GST Fund
[% IF order.biblionumber %] [% order.title |html %] [% IF ( order.author ) %]
by [% order.author %] [% END %] [% ELSE %] Deleted bibliographic record, can't find title [% END %] [% IF ( order.isbn ) %] – [% order.isbn %][% END %] [% IF ( order.publishercode ) %]
[% order.publishercode %] [% IF order.publicationyear %], [% order.publicationyear %] [% ELSIF ( order.copyrightdate ) %][% order.copyrightdate %][% END %] [% END %]

[% order.branchcode %]

[% order.unitprice_tax_excluded | $Price %] [% order.unitprice_tax_included | $Price %] [% order.quantity %] [% order.total_tax_excluded | $Price %] [% order.total_tax_included | $Price %] [% order.tax_rate * 100 %] [% order.tax_value | $Price %] [% order.budget_name %]
Total (GST [% tf.tax_rate * 100 %] %) [% tf.quantity %] [% tf.total_tax_excluded | $Price %] [% tf.total_tax_included | $Price %]   [% tf.tax_value | $Price %]  
Total ([% currency.symbol %]) [% total_quantity %] [% total_tax_excluded | $Price %] [% total_tax_included | $Price %]   [% total_tax_value | $Price %]  
Total + Adjustments + Shipment cost ([% currency.symbol %]) [% total_quantity %] [% total_tax_excluded_shipment + total_adj | $Price %] [% total_tax_included_shipment | $Price %]   [% total_tax_value | $Price %]  
[% ELSE %]

No orders yet

[% IF adjustments && adjustments.count > 0 || shipmentcost && shipmentcost > 0 %]

Adjustments plus shipping:[% total_adj + shipmentcost | $Price %]

[% END %]
[% END %] [% IF ( (Koha.Preference('AcqEnableFiles')) && files ) %]

Files attached to invoice

[% FOREACH f IN files %] [% END %]
Name Type Description Uploaded
[% f.file_name | html %] [% f.file_type | html %] [% f.file_description | html %] [% f.date_uploaded | $KohaDates %]
[% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]