[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE Price %] [% SET footerjs = 1 %] [% USE AuthorisedValues %] [% INCLUDE 'doc-head-open.inc' %] Invoice › Acquisitions › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] [% SET readonly = NOT CAN_user_acquisition_edit_invoices %]

Invoice: [% invoicenumber | html %]

[% INCLUDE 'blocking_errors.inc' %] [% IF ( modified ) %]

Invoice has been modified

[% END %]

Vendor: [% suppliername | html %]

  1. [% IF readonly %] [% invoicenumber | html %] [% ELSE %] Required [% END %]
  2. [% IF readonly %] [% shipmentdate | $KohaDates %] [% ELSE %]
    [% INCLUDE 'date-format.inc' %]
    [% END %]
  3. [% IF readonly %] [% billingdate | $KohaDates %] [% ELSE %]
    [% INCLUDE 'date-format.inc' %]
    [% END %]
  4. [% IF readonly %] [% shipmentcost | $Price %] [% ELSE %] [% END %]
  5. [% IF readonly %] [% budget.budget_name | html %] [% ELSE %] [% END %]
  6. [% IF ( invoiceclosedate ) %]
  7. Status: Closed on [% invoiceclosedate | $KohaDates %]
  8. [% IF CAN_user_acquisition_reopen_closed_invoices AND NOT readonly %]
  9. [% END %] [% ELSE %]
  10. Status: Open
  11. [% UNLESS ( readonly ) %]
  12. [% END %] [% END %]
[% UNLESS readonly %]
[% IF CAN_user_acquisition_delete_invoices AND NOT orders_loop.size %] Delete [% END %]
[% END %]

Adjustments

[% IF (adjustments && adjustments.count > 0) %] [% UNLESS readonly %][% END %] [% total_adj = 0 %] [% FOREACH adjustment IN adjustments %] [% total_adj = total_adj + adjustment.adjustment %] [% IF adjustment.encumber_open %] [% ELSE %] [% END %] [% UNLESS readonly %] [% END %] [% END %]
Id Amount Reason Note Fund Encumber while invoice open 
[% adjustment.adjustment_id | html %] [% IF readonly %] [% adjustment.adjustment | $Price %] [% ELSE %] [% END %] [% IF readonly %] [% AuthorisedValues.GetByCode('ADJ_REASON', adjustment.reason) | html %] [% ELSE %] [% reasons = AuthorisedValues.Get("ADJ_REASON") %] [% IF reasons.0 %] [% ELSE %]

None

[% END %] [% END %]
[% IF readonly %] [% adjustment.note | html %] [% ELSE %] [% END %] [% IF readonly %] [% adjustement.fund.budget_name | html %] [% ELSE %] [% END %] [% IF readonly %] [% ELSE %] [% END %] [% IF readonly %] [% ELSE %] [% END %] Delete
[% END %] [% UNLESS readonly %]

Add an adjustment

[% END %]

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. Replacement price Qty. Total tax exc. ([% currency.symbol | html %]) Total tax inc. ([% currency.symbol | html %]) GST % GST Fund
[% IF order.biblionumber %] [% order.title | html %] [% IF ( order.author ) %]
by [% order.author | html %] [% END %] [% ELSE %] Deleted bibliographic record, can't find title [% END %] [% IF ( order.isbn ) %] – [% order.isbn | html %][% END %] [% IF ( order.publishercode ) %]
[% order.publishercode | html %] [% IF order.publicationyear %], [% order.publicationyear | html %] [% ELSIF ( order.copyrightdate ) %][% order.copyrightdate | html %][% END %] [% END %]

[% order.branchcode | html %]

[% order.unitprice_tax_excluded | $Price %] [% order.unitprice_tax_included | $Price %] [% order.replacementprice | $Price %] [% IF ( order.uncertainprice ) %] (Uncertain) [% END %] [% order.quantity | html %] [% order.total_tax_excluded | $Price %] [% order.total_tax_included | $Price %] [% order.tax_rate * 100 | html %] [% order.tax_value | $Price %] [% order.budget_name | html %]
Total (GST [% tf.tax_rate * 100 | html %] %) [% tf.quantity | html %] [% tf.total_tax_excluded | $Price %] [% tf.total_tax_included | $Price %]   [% tf.tax_value | $Price %]  
Total ([% currency.symbol | html %]) [% total_quantity | html %] [% total_tax_excluded | $Price %] [% total_tax_included | $Price %]   [% total_tax_value | $Price %]  
Total + adjustments + shipment cost ([% currency.symbol | html %]) [% total_quantity | html %] [% total_tax_excluded_shipment + total_adj | $Price %] [% total_tax_included_shipment + total_adj | $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") | $raw %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]