taxtank-core 0.28.22 → 0.28.23
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.
|
@@ -5389,16 +5389,6 @@
|
|
|
5389
5389
|
enumerable: false,
|
|
5390
5390
|
configurable: true
|
|
5391
5391
|
});
|
|
5392
|
-
Object.defineProperty(Property.prototype, "shareClaimPercent", {
|
|
5393
|
-
/**
|
|
5394
|
-
* exact claim including share percent
|
|
5395
|
-
*/
|
|
5396
|
-
get: function () {
|
|
5397
|
-
return this.sharePercent * this.claimPercent / 100;
|
|
5398
|
-
},
|
|
5399
|
-
enumerable: false,
|
|
5400
|
-
configurable: true
|
|
5401
|
-
});
|
|
5402
5392
|
Object.defineProperty(Property.prototype, "actualValuation", {
|
|
5403
5393
|
get: function () {
|
|
5404
5394
|
return this.valuations.reduce(function (maxDateValuation, valuation) {
|
|
@@ -5415,6 +5405,13 @@
|
|
|
5415
5405
|
enumerable: false,
|
|
5416
5406
|
configurable: true
|
|
5417
5407
|
});
|
|
5408
|
+
Object.defineProperty(Property.prototype, "claimCoefficient", {
|
|
5409
|
+
get: function () {
|
|
5410
|
+
return this.claimPercent / 100;
|
|
5411
|
+
},
|
|
5412
|
+
enumerable: false,
|
|
5413
|
+
configurable: true
|
|
5414
|
+
});
|
|
5418
5415
|
Object.defineProperty(Property.prototype, "sharePercent", {
|
|
5419
5416
|
get: function () {
|
|
5420
5417
|
return this.myShare.percent;
|