taxtank-core 1.0.77 → 1.0.78
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.
@@ -8251,9 +8251,13 @@ const DEPRECIATION_TYPE_LABELS = {
|
|
8251
8251
|
class PropertyReportItemDepreciation extends PropertyReportItem {
|
8252
8252
|
constructor(depreciations, property, chartAccounts) {
|
8253
8253
|
super(property, chartAccounts);
|
8254
|
-
this.
|
8254
|
+
this.depreciations = depreciations;
|
8255
|
+
this.amount = Math.abs(depreciations.getCurrentYearForecastAmount());
|
8255
8256
|
this.description = DEPRECIATION_TYPE_LABELS[depreciations.first.type];
|
8256
8257
|
}
|
8258
|
+
get claimAmount() {
|
8259
|
+
return this.depreciations.claimAmount / this.sharePercent * 100;
|
8260
|
+
}
|
8257
8261
|
}
|
8258
8262
|
|
8259
8263
|
/**
|