@zeniai/client-epic-state 4.10.14 → 4.10.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,9 +117,7 @@ const getCompanyIdTenantIdMappingFromTenantsList = (tenants, companies) => {
117
117
  };
118
118
  exports.getCompanyIdTenantIdMappingFromTenantsList = getCompanyIdTenantIdMappingFromTenantsList;
119
119
  const canSendMonthEndEmailReport = (companyView, companiesExcludedFromMonthEndReport) => {
120
- if (companyView.company.company.parentSubsidiaryInfo.parentInfo != null ||
121
- companyView.company.company.parentSubsidiaryInfo.subsidiaryInfo != null ||
122
- companiesExcludedFromMonthEndReport.indexOf(companyView.company.company.companyInfo.companyId) > -1) {
120
+ if (companiesExcludedFromMonthEndReport.indexOf(companyView.company.company.companyInfo.companyId) > -1) {
123
121
  return false;
124
122
  }
125
123
  const bookCloseDate = companyView.company.company.companyInfo.bookCloseDate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.10.14",
3
+ "version": "4.10.15",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",