diff --git a/app/Models/Account.php b/app/Models/Account.php index 5825d8d32ba3..bf7e2e3968c0 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -1857,11 +1857,13 @@ class Account extends Eloquent public function isModuleEnabled($entityType) { - if (in_array($entityType, [ - ENTITY_CLIENT, - ENTITY_INVOICE, - ENTITY_PRODUCT, - ENTITY_PAYMENT, + if ( ! in_array($entityType, [ + ENTITY_RECURRING_INVOICE, + ENTITY_CREDIT, + ENTITY_QUOTE, + ENTITY_TASK, + ENTITY_EXPENSE, + ENTITY_VENDOR, ])) { return true; }