taxtank-core 0.28.45 → 0.28.46

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.
@@ -9236,6 +9236,9 @@
9236
9236
  loss: [
9237
9237
  exports.TaxReturnCategoryListEnum.DEFERRED_BUSINESS_LOSSES_FROM_PRIOR_YEAR,
9238
9238
  ],
9239
+ lossCurrent: [
9240
+ exports.TaxReturnCategoryListEnum.DEFERRED_BUSINESS_LOSSES,
9241
+ ],
9239
9242
  taxOffsets: [
9240
9243
  exports.TaxReturnCategoryListEnum.TAX_OFFSETS_SOLE
9241
9244
  ],
@@ -12212,9 +12215,10 @@
12212
12215
  get: function () {
12213
12216
  var income = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.income);
12214
12217
  var expenses = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.expenses);
12215
- var depreciation = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.expenses);
12218
+ var depreciation = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.depreciation);
12216
12219
  var loss = this.sole.items.sumByCategories(TAX_RETURN_CATEGORIES.sole.loss);
12217
- return income + expenses + depreciation - loss;
12220
+ var lossCurrent = this.sole.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.sole.lossCurrent, exports.TaxSummarySectionEnum.SOLE_TANK);
12221
+ return income + expenses + depreciation + loss + lossCurrent;
12218
12222
  },
12219
12223
  enumerable: false,
12220
12224
  configurable: true