taxtank-core 0.30.31 → 0.30.33
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/esm2020/lib/collections/subscription/service-subscription.collection.mjs +2 -2
- package/esm2020/lib/models/depreciation/depreciation-forecast.mjs +6 -1
- package/esm2020/lib/models/property/property-sale/property-sale-cost-base.mjs +1 -1
- package/fesm2015/taxtank-core.mjs +4 -1
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +4 -1
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/models/depreciation/depreciation-forecast.d.ts +1 -0
- package/lib/models/property/property-sale/property-sale-cost-base.d.ts +1 -2
- package/package.json +1 -1
|
@@ -2200,6 +2200,9 @@ class DepreciationForecast extends DepreciationForecast$1 {
|
|
|
2200
2200
|
return this.getDaysByMonth(month) * this.dailyClaimAmount;
|
|
2201
2201
|
}
|
|
2202
2202
|
}
|
|
2203
|
+
__decorate([
|
|
2204
|
+
Type(() => Number)
|
|
2205
|
+
], DepreciationForecast.prototype, "closeBalance", void 0);
|
|
2203
2206
|
|
|
2204
2207
|
/**
|
|
2205
2208
|
* Grouped chart accounts categories for fast work
|
|
@@ -6118,7 +6121,7 @@ class ServiceSubscriptionCollection extends Collection {
|
|
|
6118
6121
|
const dictionary = new Dictionary([]);
|
|
6119
6122
|
products.toArray().forEach((product) => {
|
|
6120
6123
|
const subscriptions = this.filterByProduct(product);
|
|
6121
|
-
dictionary.add(product.id, (subscriptions.getPaid().
|
|
6124
|
+
dictionary.add(product.id, (subscriptions.getPaid().last ?? subscriptions.getTrials().first));
|
|
6122
6125
|
});
|
|
6123
6126
|
return dictionary;
|
|
6124
6127
|
}
|