Merge pull request #14606 from bafbes/abb120137
new : option to hide complementary actions on member subscription
This commit is contained in:
commit
ab938f2299
@ -854,7 +854,7 @@ if ($rowid > 0) {
|
|||||||
print '"></td></tr>';
|
print '"></td></tr>';
|
||||||
|
|
||||||
// Complementary action
|
// 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);
|
$company = new Societe($db);
|
||||||
if ($object->fk_soc) {
|
if ($object->fk_soc) {
|
||||||
$result = $company->fetch($object->fk_soc);
|
$result = $company->fetch($object->fk_soc);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user