BUG: non admin user not able to do view/edit/create Recurring Invoices

This commit is contained in:
Hillel Coren 2021-04-19 11:53:40 +03:00
parent c14332f407
commit 312db5794e
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ abstract class UserCompanyEntity
}
return permissions.contains('${permission}_all') ||
permissions.contains('${permission}_$entityType');
permissions.contains('${permission}_${entityType.snakeCase}');
}
bool receivesAllNotifications(String channel) =>