mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for expense documents
This commit is contained in:
parent
8c2e5ebdbf
commit
d53d7739b4
@ -1857,11 +1857,13 @@ class Account extends Eloquent
|
|||||||
|
|
||||||
public function isModuleEnabled($entityType)
|
public function isModuleEnabled($entityType)
|
||||||
{
|
{
|
||||||
if (in_array($entityType, [
|
if ( ! in_array($entityType, [
|
||||||
ENTITY_CLIENT,
|
ENTITY_RECURRING_INVOICE,
|
||||||
ENTITY_INVOICE,
|
ENTITY_CREDIT,
|
||||||
ENTITY_PRODUCT,
|
ENTITY_QUOTE,
|
||||||
ENTITY_PAYMENT,
|
ENTITY_TASK,
|
||||||
|
ENTITY_EXPENSE,
|
||||||
|
ENTITY_VENDOR,
|
||||||
])) {
|
])) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user