[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE Price %] [% USE currency = format('%.2f') -%] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › [% IF ( date ) %] Receipt summary for [% name | html %] [% IF ( invoice ) %]invoice [% invoice | html %][% END %] on [% datereceived | $KohaDates %][% ELSE %]Receive orders from [% name | html %][% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %]
[% IF ( receive_error ) %]

Error adding items:

    [% FOREACH error_loo IN error_loop %]
  • [% error_loo.error_param | html %][% IF ( error_loo.error_duplicate_barcode ) %]Duplicate Barcode[% END %]
  • [% END %]
[% END %]

[% IF datereceived %] Receipt summary for [% name | html %] [% IF ( invoice ) %] [ [% invoice | html %] ] [% END %] on [% datereceived | $KohaDates %] [% ELSE %] Receive orders from [% name | html %] [% END %]

[% IF ( success_delorder ) %]
The order has been successfully canceled.
[% ELSE %] [% IF ( error_delitem ) %]
The order has been canceled, although one or more items could not have been deleted.
[% END %] [% IF ( error_delbiblio ) %]
The order has been canceled, although the record has not been deleted.
[% END %] [% END %] [% IF (error_cancelling_receipt) %]
Cannot cancel receipt. Possible reasons :
  • The order line you trying to cancel was created from a partial receipt of another order line which is already received. Try to cancel this one first and retry.
  • The order line you trying to cancel was created from a partial receipt of another order line which has been deleted. Cancellation is not possible.
[% END %] [% IF error_invoice_not_known %]
The invoice referenced by this invoiceid does not exist.
[% END %] [% UNLESS no_orders_to_display %]

Invoice number: [% invoice | html %] Received by: [% logged_in_user.userid | html %] On: [% datereceived | $KohaDates %]

[% UNLESS (invoiceclosedate) %] [% ELSE %]

Invoice is closed, so you can't receive orders anymore. Reopen it.

[% END %]

Already received

[% IF ( loop_received ) %]
[% FOREACH key IN subtotal_for_funds.keys.sort %] [% IF invoiceincgst %] [% ELSE %] [% END %] [% END %] [% FOREACH book_foot IN book_foot_loop %] [% END %] [% FOREACH order IN loop_received %] [% END %]
Basket Basket group Order line Holds Summary More Replacement price Quantity Fund Est cost Actual cost TOTAL
(Tax inc.)(Tax exc.)Subtotal for [% key | html %] [% subtotal_for_funds.$key.ecost | $Price %] [% subtotal_for_funds.$key.unitprice | $Price %]    
Total tax exc. [% total_tax_excluded | $Price %]
Total (GST [% book_foot.tax_rate * 100 | html %]%) [% book_foot.tax_value | $Price %]
Total tax inc. [% total_tax_included | $Price %]
[% order.basketname | html %] ([% order.basketno | html %]) [% IF order.basketgroupid %] [% order.basketgroupname | html %] ([% order.basketgroupid | html %]) [% ELSE %] No basket group [% END %] [% order.ordernumber | html %] [% IF (order.parent_ordernumber && (order.parent_ordernumber != order.ordernumber)) %] ([% order.parent_ordernumber | html %]) [% END %] [% IF order.total_holds > 0 %] [% IF order.item_holds > 0 %] [% order.item_holds | html %] [% ELSE %] 0 [% END %] / [% order.total_holds | html %] [% ELSE %] 0 [% END %] [% order.title | html %] [% IF ( order.author ) %] / [% order.author | html %][% END %] [% IF ( order.isbn ) %] - [% order.isbn | html %][% END %] [% IF ( order.publishercode ) %]
Publisher: [% order.publishercode | html %] [%- IF ( order.publicationyear > 0) -%], [% order.publicationyear | html %] [%- ELSIF ( order.copyrightdate > 0) -%] [% order.copyrightdate | html %] [% END %] [% END %] [% IF ( order.suggestionid ) %]
Suggested by: [% order.surnamesuggestedby | html %][% IF ( order.firstnamesuggestedby ) %], [% order.firstnamesuggestedby | html %] [% END %] (suggestion #[% order.suggestionid | html %]) [% END %]
[% IF ( order.order_internalnote ) %]

Internal note: [% order.order_internalnote | html %] [Change internal note]

[% ELSE %] [Add internal note] [% END %] [% IF ( order.order_vendornote ) %]

Vendor note: [% order.order_vendornote | html %]

[% ELSE %] [Add vendor note] [% END %]
Order
MARC
Card
[% order.replacementprice | $Price %] [% order.quantityreceived | html %] [% order.budget.budget_name | html %] [% order.ecost | $Price %] [% order.unitprice | $Price %] [% order.total | $Price %] [% IF loop_receive.cannot_cancel or ( order.basket.effective_create_items == "receiving" and loop_receive.holds > 0 ) %] [% IF loop_receive.cannot_cancel %] [% span_title = BLOCK %] Cannot cancel receipt of this order line because it was created from a partial receipt of order line no. [% order.parent_ordernumber | html %], which is already received. Try cancelling this one first and retry. [% END %] [% ELSE %] [%# FIXME Here we block the cancellation if holds exist. Actually it could be possible if items will be exist after the deletion %] [%# Some additional checks should be added in the pl file %] [% span_title = BLOCK %] Cannot cancel receipt of this order line because at least one reservation exists on the records. [% END %] [% END %] Can't cancel receipt [% ELSE %] Cancel receipt [% END %]
[% ELSE %]There are no received orders.[% END %]
[% IF (invoiceclosedate) %] View invoice [% ELSE %]
[% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] [% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]