X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Facqui%2Forderreceive.tt;h=0a8c8b815194e4b851dfe646289f003ae0e11f3e;hb=1b4b52fd25f8310e03555bd431c9d485b70c50aa;hp=3f5dc42d5cef3069a16c0e2d9bd2319f799d503a;hpb=ab1a74897efb82b99ed3931dff719bb64b930bc4;p=koha-ffzg.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index 3f5dc42d5c..0a8c8b8151 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -1,175 +1,175 @@ +[% USE raw %] +[% USE Asset %] +[% USE Koha %] +[% USE KohaDates %] +[% USE Branches %] +[% USE AuthorisedValues %] +[% USE ItemTypes %] +[% USE Price %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Acquisitions › Receipt summary for : [% name %] [% IF ( invoice ) %]invoice, [% invoice %][% END %] +Koha › Acquisitions › Receipt summary for : [% name | html %] [% IF ( invoice ) %]invoice, [% invoice | html %][% END %] [% INCLUDE 'doc-head-close.inc' %] -[% INCLUDE 'additem.js.inc' %] - - - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] - + -
- -
-
-
+
+
+ [% AcqCreateItem = order.basket.effective_create_items %] +
+
-

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

+

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

-[% IF ( count ) %] -
-
-
- +[% IF ( order ) %] + +
+
+
Catalog details -
  1. Title: [% title |html %]
  2. +
    1. Title: [% order.biblio.title | html %]
    2. Author: - [% author %]
    3. + [% order.biblio.author | html %]
    4. Copyright: - [% copyrightdate %]
    5. + [% order.biblio.copyrightdate | html %]
    6. ISBN: - [% isbn %]
    7. + [% order.biblio.biblioitem.isbn | html %]
    8. Series: - [% seriestitle %]
    9. + [% order.biblio.seriestitle | html %]
- [% IF ( suggestionid ) %] + [% IF suggestion %]
Suggestion
  1. Suggested by: - [% surnamesuggestedby %][% IF ( firstnamesuggestedby ) %], [% firstnamesuggestedby %][% END %] (suggestion #[% suggestionid %]) + [% 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 (AcqCreateItemReceiving) %] + [% IF order.subscriptionid and orders.count %] +
+ Receipt history for this subscription + + + + + + + + + + + + + + + [% FOR suborder IN orders %] + + + + + + + + + + + [% END %] + +
InvoiceOrder numberCreation dateReceive dateQuantity receivedStatusSpentInternal 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 %] + [% SWITCH suborder.orderstatus %] + [%# FIXME We should only see/display Complete here, right? %] + [% CASE 'new' %]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') %]