@zeniai/client-epic-state 4.9.64 → 4.9.65

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.
@@ -42,7 +42,7 @@ const getScheduleDetailsView = (state, scheduleType) => {
42
42
  const scheduleDetailAccountIds = (0, accountSelector_1.getAccountIdsForTypes)(accountState, scheduleDetailAccountTypes);
43
43
  const allAccountList = (0, accountListSelector_1.getAccountList)(accountState, accountListState, accountTypes.accountListKey);
44
44
  const filteredAccounts = allAccountList.accounts.filter((account) => scheduleDetailAccountIds.includes(account.accountId));
45
- const depreciationCategoryIds = (0, accountSelector_1.getAccountIdsForTypes)(accountState, ['fixed_assets'] // This will always be for fixed assets list
45
+ const depreciationCategoryIds = (0, accountSelector_1.getAccountIdsForTypes)(accountState, ['fixed_assets', 'other_assets'] // This will always be for fixed assets list
46
46
  );
47
47
  const accountLabel = (0, scheduleListHelper_1.getAccountLabelForScheduleType)('fixed_assets');
48
48
  const fixedAssetLabelAccountIds = accountLabel != null
@@ -229,7 +229,7 @@ const getAccountsTypesForScheduleList = (scheduleType) => {
229
229
  case 'fixed_assets':
230
230
  return {
231
231
  accountListKey: 'schedulesAccountList',
232
- allowedAccountList: ['fixed_assets'],
232
+ allowedAccountList: ['fixed_assets', 'other_assets'],
233
233
  };
234
234
  default:
235
235
  return {
@@ -263,6 +263,7 @@ const getAccountsTypesForScheduleEpics = () => {
263
263
  'cogs',
264
264
  'expenses',
265
265
  'other_expense',
266
+ 'other_assets',
266
267
  ],
267
268
  };
268
269
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.9.64",
3
+ "version": "4.9.65",
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",