taxtank-core 0.28.21 → 0.28.22
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 +7 -0
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/models/depreciation/depreciation-group-item.js +5 -1
- package/esm2015/lib/models/depreciation/depreciation-group.js +4 -1
- package/fesm2015/taxtank-core.js +7 -0
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/models/depreciation/depreciation-group-item.d.ts +2 -0
- package/lib/models/depreciation/depreciation-group.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9980,10 +9980,14 @@
|
|
|
9980
9980
|
DepreciationGroup.prototype.getClaimAmount = function () {
|
|
9981
9981
|
return this.children.reduce(function (sum, child) { return sum + child.getClaimAmount(); }, 0);
|
|
9982
9982
|
};
|
|
9983
|
+
DepreciationGroup.prototype.getAmount = function () {
|
|
9984
|
+
return this.children.reduce(function (sum, child) { return sum + child.getAmount(); }, 0);
|
|
9985
|
+
};
|
|
9983
9986
|
return DepreciationGroup;
|
|
9984
9987
|
}());
|
|
9985
9988
|
|
|
9986
9989
|
/**
|
|
9990
|
+
* @TODO Alex useless class, use parent instead
|
|
9987
9991
|
* Depreciation Tree node with depreciation details
|
|
9988
9992
|
*/
|
|
9989
9993
|
var DepreciationGroupItem = /** @class */ (function (_super) {
|
|
@@ -9996,6 +10000,9 @@
|
|
|
9996
10000
|
DepreciationGroupItem.prototype.getClaimAmount = function () {
|
|
9997
10001
|
return this.depreciation.currentYearForecast.claimAmount;
|
|
9998
10002
|
};
|
|
10003
|
+
DepreciationGroupItem.prototype.getAmount = function () {
|
|
10004
|
+
return this.depreciation.currentYearForecast.amount;
|
|
10005
|
+
};
|
|
9999
10006
|
return DepreciationGroupItem;
|
|
10000
10007
|
}(DepreciationGroup));
|
|
10001
10008
|
|