From 63c4d859ef1b30bd1a5b35822b8d9f71892a9d31 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 --- 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 3c0cc25a8d..cecdd9585f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -318,6 +318,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.11.0