From 51c0e46033fffcbb07fb5456640e35fb41623707 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 --- 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 136fcc1ccc..d9052ca996 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -411,7 +411,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