From f2426f78db02b5627afc98eaf38e1e46fa3106d2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 3 Jun 2015 11:41:24 +0200 Subject: [PATCH] Bug 12054: (follow-up) Inactive vendors should be inactive Don't display "add order""block and buttons if the vendor is inactive. --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 82ffde4..a646b58 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -161,7 +161,9 @@ [% UNLESS ( selectbasketg ) %] [% UNLESS ( closedate ) %]
- + [% IF active %] + + [% END %] [%# FIXME This action should not be available for everyone %] @@ -623,7 +625,10 @@
+ [% IF active %] [% INCLUDE 'acquisitions-add-to-basket.inc' %] + [% END %] + [% END %] [% END %] [% END %] [% ELSE %] -- 2.1.0