[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE Price %] [% SET footerjs = 1 %] [% USE AuthorisedValues %] [% PROCESS 'i18n.inc' %] [% BLOCK fund_dropdown %] [% END %] [% INCLUDE 'doc-head-open.inc' %] [% FILTER collapse %] [% t("Invoice") | html %] › [% t("Acquisitions") | html %] › [% t("Koha") | html %] [% END %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/humanmsg.css") | $raw %] [% WRAPPER 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] [% END %] [% SET readonly = NOT CAN_user_acquisition_edit_invoices %] [% WRAPPER 'sub-header.inc' %] [% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] Acquisitions [% END %] [% WRAPPER breadcrumb_item %] Invoices [% END %] [% WRAPPER breadcrumb_item bc_active=1 %] [% invoicenumber | html %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %]

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. [% PROCESS fund_dropdown form_id => 'shipment_budget_id' form_name => 'shipment_budget_id' selected => shipment_budget_id %]
  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 # /IF ( invoiceclosedate ) %]
[% IF available_additional_fields.count %] [% INCLUDE 'additional-fields-entry.inc' available=available_additional_fields values=additional_field_values %] [% 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 # /IF adjustment.encumber_open %] [% UNLESS readonly %] [% END %] [% END # /FOREACH adjustment %]
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 # /IF reasons.0 %] [% END # /IF readonly %]
[% IF readonly %] [% adjustment.note | html %] [% ELSE %] [% END %] [% PROCESS fund_dropdown form_id => "budget_id_" _ adjustment.adjustment_id form_name => 'budget_id' selected => adjustment.budget_id %] [% IF readonly %] [% ELSE %] [% END %] [% IF readonly %] [% ELSE %] [% END %] Delete
[% END # /IF adjustments %] [% UNLESS readonly %] [% END #/UNLESS readonly %]
[% UNLESS readonly %]
[% END #/UNLESS readonly %]

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

Invoice details [% IF orders_loop.size %] [% IF has_invoice_unitprice %] [% END %] [% FOREACH order IN orders_loop %] [% END %] [% END # /FOREACH order %] [% FOR tf IN foot_loop %] [% IF has_invoice_unitprice %] [% END %] [% END # /FOR tf %] [% IF has_invoice_unitprice %] [% END %] [% IF has_invoice_unitprice %] [% END %]
Summary LibraryInvoice priceActual 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 %] [% INCLUDE 'biblio-title.inc' biblio=order link = 1 %] [% 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 %]

[% IF has_invoice_unitprice %]
[% IF order.invoice_unitprice %] [% order.invoice_unitprice | $Price %] [% order.invoice_currency | html %] [% END %] [% 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 %]
Modify fund
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 orders_loop.size %]
[% 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 # /IF AcqEnableFiles %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") | $raw %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] [% Asset.js("js/acq.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]