From da3e33bff37a92caeb00f69db7e83b17e60eada6 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 13 Dec 2013 23:19:55 +0000 Subject: [PATCH] Bug 8230: (follow-up) fix detection of cancelled orders This patch fixes a problem where the quantity / items column in the acquisitions detail table would display ilnks to items for cancelled orders. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 612532b820..0a44dbfdff 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -831,7 +831,7 @@ function verify_images() { Basket - Ordernumber + Order number Creation date Receive date Status @@ -860,7 +860,7 @@ function verify_images() { [% order.quantity %] - [% IF order.itemnumbers.size > 0 && order.orderstatus != '4' %] + [% IF order.itemnumbers.size > 0 && order.orderstatus != 'cancelled' %] ( [% FOR itemnumber IN order.itemnumbers %] [% itemnumber %] -- 2.39.5