[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE Branches %] [% USE AuthorisedValues %] [% USE ItemTypes %] [% USE Price %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Receipt summary for : [% name | html %] [% IF ( invoice ) %]invoice, [% invoice | html %][% END %] › Acquisitions › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %]
[% AcqCreateItem = order.basket.effective_create_items %]

Receive items from : [% name | html %] [% IF ( invoice ) %][[% invoice | html %]] [% END %] (order #[% order.ordernumber | html %])

[% IF ( order ) %]
Catalog details
  1. Title: [% order.biblio.title | html %]
  2. Author: [% order.biblio.author | html %]
  3. Copyright: [% order.biblio.copyrightdate | html %]
  4. ISBN: [% order.biblio.biblioitem.isbn | html %]
  5. Series: [% order.biblio.seriestitle | html %]
[% IF suggestion %]
Suggestion
  1. Suggested by: [% suggestion.surnamesuggestedby | html %][% IF suggestion.firstnamesuggestedby %], [% suggestion.firstnamesuggestedby | html %][% END %] (suggestion #[% suggestion.suggestionid | html %]) [% IF suggestion.reason %]
  2. Reason: [% SET suggestion_reasons = AuthorisedValues.GetAuthValueDropbox( 'SUGGEST' ) %] [% SET other_reason = 1 %] [% IF other_reason %] [% ELSE %] [% END %] Cancel
  3. [% END %]
[% END %] [% IF order.subscriptionid and orders.count %]
Receipt history for this subscription [% FOR suborder IN orders %] [% SWITCH suborder.orderstatus %] [%# FIXME We should only see/display Complete here, right? %] [% CASE 'new' %] [% END %]
Invoice Order number Creation date Receive date Quantity received Status Spent Internal note
[% IF suborder.invoice %] [% IF CAN_user_acquisition %] [% suborder.invoice.invoicenumber | html %] [% ELSE %] [% suborder.invoice.invoicenumber | html %] [% END %] [% END %] [% suborder.ordernumber | html %] [% suborder.basket.creationdate | $KohaDates%] [% IF suborder.datereceived %] [% suborder.datereceived | $KohaDates %] [% END %] [% suborder.quantityreceived | html %] New [% CASE 'ordered' %] Ordered [% CASE 'partial' %] Partial [% CASE 'complete' %] Complete [% CASE 'cancelled' %] Cancelled [% END %] [% IF suborder.datereceived %][%# FIXME Should only be true, right? %] [%# FIXME What if unitprice has not been filled? %] [% suborder.unitprice_tax_excluded * suborder.quantity | $Price %] / [% suborder.unitprice_tax_included * suborder.quantity | $Price %] [% END %] [% suborder.order_internalnote | html %]
[% ELSIF (AcqCreateItem == 'receiving') %] [% UNLESS order.subscriptionid %]
Item [% IF ( NoACQframework ) %]

No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used

[% END %]
[% END %] [% ELSIF (AcqCreateItem == 'ordering') %] [% IF (order.items) %]
Items
[% FOREACH item IN order.items %] [% END %]
Receive?   Barcode Home library Current library Not for loan Restricted Location Call number Copy number Inventory number Collection Item type Materials Notes
Edit [% item.barcode | html %] [% Branches.GetName( item.homebranch ) | html %] [% Branches.GetName( item.holdingbranch ) | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.restricted', authorised_value => item.restricted ) | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %] [% item.itemcallnumber | html %] [% item.copynumber | html %] [% item.stocknumber | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %] [% ItemTypes.GetDescription( item.itype ) | html %] [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.materials', authorised_value => item.materials ) | html %] [% item.itemnotes | html %]
[% END %] [% END %]
Accounting details
  1. (Current: [% budget_period_description | html %] - [% bookfund | html %])
  2. [% INCLUDE 'patron-title.inc' patron = creator %]
  3. [% IF edit or order.subscriptionid %] [% ELSE%] [% END %]
  4. [% IF order.subscriptionid %] [% ELSIF AcqCreateItem == 'receiving' %] [% ELSE %] [% IF ( order.quantityreceived ) %] [% IF ( edit ) %] [% ELSE %] [% IF ( order.items.count ) %] [% ELSE %] [% END %] [% END %] [% ELSE %] [% END %] [% END %][%# IF (order.subscriptionid) ELSIF (AcqCreateItem == 'receiving' ) %]
  5. [% IF ( gst_values ) %]
  6. [% ELSE %] [% END %]
  7. [% IF (invoiceincgst == 1) %] [% order.rrp_tax_included | $Price %](adjusted for [% active_currency.currency | html %],tax inclusive)
  8. [% ELSE %] [% order.rrp_tax_excluded | $Price %](adjusted for [% active_currency.currency | html %],tax exclusive) [% END %]
  9. [% IF (invoiceincgst) %] [% order.ecost_tax_included | $Price %] (tax inclusive) [% ELSE %] [% order.ecost_tax_excluded | $Price %] (tax exclusive) [% END %]
  10. [% IF (invoiceincgst) %] (tax inclusive) [% ELSE %] (tax exclusive) [% END %]
  11. [% IF currencies.count %] [% END %]
  12. [% IF order_vendornote %]
  13. [% order_vendornote | html %]
  14. [% END %]
[% ELSE %] This ordernumber does not exist. [% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% Asset.js("js/additem.js") | $raw %] [% Asset.js("js/cataloging.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]