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.
- package/bundles/taxtank-core.umd.js +6 -2
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/tax-summary/tax-return-categories.const.js +4 -1
- package/esm2015/lib/models/tax-summary/tax-summary.js +4 -3
- package/fesm2015/taxtank-core.js +6 -2
- package/fesm2015/taxtank-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
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
|
-
|
|
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
|