taxtank-core 0.32.127 → 0.32.128
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,7 @@ import round from 'lodash/round';
|
|
16
16
|
import { AppFile } from '../file';
|
17
17
|
import { PropertyCategoryMovement } from './property-category-movement';
|
18
18
|
import { FinancialYear } from '../financial-year';
|
19
|
+
import { plainToClass } from 'class-transformer';
|
19
20
|
/**
|
20
21
|
* propertySale docs - https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/4209508353/Property+Sold+button
|
21
22
|
*/
|
@@ -48,7 +49,8 @@ export class Property extends PropertyBase {
|
|
48
49
|
}
|
49
50
|
get currentYearForecast() {
|
50
51
|
const year = new FinancialYear().year;
|
51
|
-
return this.forecasts.find((forecast) => forecast.financialYear === year)
|
52
|
+
return this.forecasts.find((forecast) => forecast.financialYear === year)
|
53
|
+
?? plainToClass(PropertyForecast, {});
|
52
54
|
}
|
53
55
|
get forecastedRentalReturn() {
|
54
56
|
return this.currentYearForecast?.rentalReturn || 0;
|
@@ -248,4 +250,4 @@ __decorate([
|
|
248
250
|
__decorate([
|
249
251
|
Exclude()
|
250
252
|
], Property.prototype, "documentFile", void 0);
|
251
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3Byb3BlcnR5L3Byb3BlcnR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsUUFBUSxJQUFJLFlBQVksRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQzdFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNoRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUMvRCxPQUFPLEVBQU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aXRPZlRpbWUuRGlmZiA9ICdkYXlzJyk6IG51bWJlciB7XG4gICAgcmV0dXJuIG1vbWVudChzYWxlLmRhdGUpLmRpZmYobW9tZW50KHRoaXMuY29udHJhY3REYXRlKSwgdW5pdE9mVGltZSk7XG4gIH1cblxuICAvKipcbiAgICogVGF4IFBvc2l0aW9uID0gSW5jb21lIC0gRXhwZW5zZSAtIEludGVyZXN0IC0gRGVwcmVjaWF0aW9uXG4gICAqIFdoZXJlIChJbmNvbWUgLSBFeHBlbnNlIC0gSW50ZXJlc3QpIGlzIGNhc2ggcG9zaXRpb24uXG4gICAqIGh0dHBzOi8vdGF4dGFuay5hdGxhc3NpYW4ubmV0L3dpa2kvc3BhY2VzL1RBWFRBTksvcGFnZXMvMjE3NDE1OTI4L0Rhc2hib2FyZCtQcm9wZXJ0eVxuICAgKi9cbiAgZ2V0VGF4UG9zaXRpb24odHJhbnNhY3Rpb25zOiBUcmFuc2FjdGlvbkNvbGxlY3Rpb24sIGRlcHJlY2lhdGlvbnM6IERlcHJlY2lhdGlvbkNvbGxlY3Rpb24pOiBudW1iZXIge1xuICAgIHJldHVybiB0cmFuc2FjdGlvbnMuZ3Jvc3NDbGFpbUFtb3VudCAtIE1hdGguYWJzKGRlcHJlY2lhdGlvbnMuY2xhaW1BbW91bnQpO1xuICB9XG5cbiAgZ2V0IG1vbnRobHlJbmNvbWUoKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5jdXJyZW50WWVhckZvcmVjYXN0LmluY29tZSAvIDEyO1xuICB9XG5cbiAgZ2V0IG1vbnRobHlFeHBlbnNlKCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMuY3VycmVudFllYXJGb3JlY2FzdC5leHBlbnNlIC8gMTI7XG4gIH1cbn1cbiJdfQ==
|
@@ -5837,7 +5837,8 @@ class Property extends Property$1 {
|
|
5837
5837
|
}
|
5838
5838
|
get currentYearForecast() {
|
5839
5839
|
const year = new FinancialYear().year;
|
5840
|
-
return this.forecasts.find((forecast) => forecast.financialYear === year)
|
5840
|
+
return this.forecasts.find((forecast) => forecast.financialYear === year)
|
5841
|
+
?? plainToClass(PropertyForecast, {});
|
5841
5842
|
}
|
5842
5843
|
get forecastedRentalReturn() {
|
5843
5844
|
return this.currentYearForecast?.rentalReturn || 0;
|