From 1fdb9c79068e3dfe21828d69845c30ea62c2fd2e Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 6 Feb 2019 12:13:12 +0000 Subject: [PATCH] Bug 18166: Show internal and vendor notes for receivied orders This copies the logic for showing, adding and editing vendor and internal notes from the pending orders to the received orders. To test: - In acquisitions create a basket with orders - Make your you have some internal and vendor notes - Close the basket and receive shipment - Create or reuse an invoice - Receive some of your orders - Verify that the notes don't show for received orders - Apply patch - Verify that the edit/change vendor/internal note links work the same on pending and received orders Signed-off-by: Jose-Mario Monteiro-Santos Signed-off-by: Josef Moravec --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index c6f0dd6..6ee609c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -317,6 +317,17 @@ 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
-- 2.1.4