1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00

Don't show expense categories in history

This commit is contained in:
Hillel Coren 2016-09-13 12:08:47 +03:00
parent 6a194fc3ad
commit 57f09b0821

View File

@ -62,7 +62,8 @@ class HistoryUtils
{
if ($entity->isEntityType(ENTITY_CREDIT)
|| $entity->isEntityType(ENTITY_PAYMENT)
|| $entity->isEntityType(ENTITY_VENDOR)) {
|| $entity->isEntityType(ENTITY_VENDOR)
|| $entity->isEntityType(ENTITY_EXPENSE_CATEGORY)) {
return;
}