From 47eee354f86aadb7b9fd954b51365821a1417bd5 Mon Sep 17 00:00:00 2001 From: bahfir abbes Date: Tue, 1 Sep 2020 19:27:51 +0100 Subject: [PATCH] new : option to hide complementary actions --- htdocs/adherents/subscription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/subscription.php b/htdocs/adherents/subscription.php index f2cb8c440c2..63da0be8677 100644 --- a/htdocs/adherents/subscription.php +++ b/htdocs/adherents/subscription.php @@ -854,7 +854,7 @@ if ($rowid > 0) { print '">'; // Complementary action - if (!empty($conf->banque->enabled) || !empty($conf->facture->enabled)) { + if ((!empty($conf->banque->enabled) || !empty($conf->facture->enabled)) && empty($conf->global->ADHERENT_SUBSCRIPTION_HIDECOMPLEMENTARYACTIONS)) { $company = new Societe($db); if ($object->fk_soc) { $result = $company->fetch($object->fk_soc);