Don't show expense categories in history

This commit is contained in:
Hillel Coren 2016-09-13 12:08:33 +03:00
parent 0267b84b73
commit 29a014df20

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;
}