From f37133cba6e28fb8cd83493cb6d40ebd7093c1a3 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 --- 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 3409658..813293b 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.7.4