From e1993334cff347b688d6164f6fb631e68258876c Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 25 Jul 2013 09:38:24 +0200 Subject: [PATCH] Bug 11864: Show parent order line in received orders table Test plan: 1/ Go to the receipt page of a bookseller 2/ Choose an invoice for which you have already partially received some orders (or create an order an receive it partially) 3/ In the received orders table, under column Order line, you should now see the parent order line number in parenthesis Signed-off-by: remy juliette Signed-off-by: Katrin Fischer Passes all tests and QA script. Signed-off-by: Galen Charlton (cherry picked from commit 51c0e46033fffcbb07fb5456640e35fb41623707) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 3c559d066f..82150a1d34 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -388,7 +388,12 @@ No basket group [% END %] - [% order.ordernumber %] + + [% order.ordernumber %] + [% IF (order.parent_ordernumber && (order.parent_ordernumber != order.ordernumber)) %] + ([% order.parent_ordernumber %]) + [% END %] + [% IF order.holds > 0 %] [% order.holds %] -- 2.39.5