gemcap-be-common 1.4.154 → 1.4.155

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.154",
3
+ "version": "1.4.155",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -426,12 +426,12 @@ class FinancialSpreadingService {
426
426
  // ===== OPERATING EXPENSES (special case)
427
427
  if (rowType === FinancialSpreadingSheet_model_1.EFinanceSpreadingPLTotal.OPERATING_EXPENSES) {
428
428
  const fixed = rowsData.filter(r => sheetById[r.sheetId]?.isFixedCost);
429
- const variable = rowsData.filter(r => !sheetById[r.sheetId]?.isFixedCost);
429
+ const nonFixed = rowsData.filter(r => !sheetById[r.sheetId]?.isFixedCost);
430
430
  if (fixed.length) {
431
431
  rows.push(buildAggregatedRow('Fixed operating expenses', fixed));
432
432
  }
433
- if (variable.length) {
434
- rows.push(buildAggregatedRow('Variable operating expenses', variable));
433
+ if (nonFixed.length) {
434
+ rows.push(buildAggregatedRow('Non-Fixed operating expenses', nonFixed));
435
435
  }
436
436
  continue;
437
437
  }
@@ -504,14 +504,14 @@ export class FinancialSpreadingService {
504
504
  if (rowType === EFinanceSpreadingPLTotal.OPERATING_EXPENSES) {
505
505
 
506
506
  const fixed = rowsData.filter(r => sheetById[r.sheetId]?.isFixedCost);
507
- const variable = rowsData.filter(r => !sheetById[r.sheetId]?.isFixedCost);
507
+ const nonFixed= rowsData.filter(r => !sheetById[r.sheetId]?.isFixedCost);
508
508
 
509
509
  if (fixed.length) {
510
510
  rows.push(buildAggregatedRow('Fixed operating expenses', fixed));
511
511
  }
512
512
 
513
- if (variable.length) {
514
- rows.push(buildAggregatedRow('Variable operating expenses', variable));
513
+ if (nonFixed.length) {
514
+ rows.push(buildAggregatedRow('Non-Fixed operating expenses', nonFixed));
515
515
  }
516
516
 
517
517
  continue;