From a5e6f107eeb33f3576165dadf28ab0373c71e5ee Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 2 Mar 2012 11:50:34 +0100 Subject: [PATCH] Bug 7602: Followup: Spent and ordered pages require full acquisition permissions hide link to neworderempty if user does not have order_manage permission Signed-off-by: Katrin Fischer Signed-off-by: Paul Poulain --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt index c50f639f7d..a0cabbc9d9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt @@ -42,7 +42,11 @@ [% order.title %] - [% order.ordernumber %] + [% IF ( CAN_user_acquisition_order_manage ) %] + [% order.ordernumber %] + [% ELSE %] + [% order.ordernumber %] + [% END %] [% order.booksellerid %] -- 2.39.5