Merge pull request #17624 from atm-maxime/patch-2

Update box_dolibarr_state_board.php
This commit is contained in:
Laurent Destailleur 2021-05-17 07:15:50 +02:00 committed by GitHub
commit 84ae2a2f91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,13 +60,6 @@ class box_dolibarr_state_board extends ModeleBoxes
global $conf, $user;
$this->db = $db;
// disable box for such cases
if (!empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) {
$this->enabled = 0; // disabled by this option
}
$this->hidden = !(!empty($user->rights->societe->lire) && empty($user->socid));
}
/**