taxtank-core 0.21.16 → 0.21.17

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.
@@ -8376,11 +8376,13 @@
8376
8376
  * Depreciation Nested Tree node with depreciations group
8377
8377
  */
8378
8378
  var DepreciationGroup = /** @class */ (function () {
8379
- function DepreciationGroup(label, description, icon, children) {
8379
+ function DepreciationGroup(label, description, icon, children, totalCost, openingValue) {
8380
8380
  this.label = label;
8381
8381
  this.description = description;
8382
8382
  this.icon = icon;
8383
8383
  this.children = children;
8384
+ this.totalCost = totalCost;
8385
+ this.openingValue = openingValue;
8384
8386
  }
8385
8387
  DepreciationGroup.prototype.getClaimAmount = function () {
8386
8388
  return this.children.reduce(function (sum, child) { return sum + child.getClaimAmount(); }, 0);