taxtank-core 3.0.34 → 3.0.35
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.
|
@@ -9159,7 +9159,7 @@ const DEPRECIATION_TYPE_LABELS = {
|
|
|
9159
9159
|
class PropertyReportItemDepreciation extends PropertyReportItem {
|
|
9160
9160
|
constructor(depreciations, property, chartAccounts, dateRange) {
|
|
9161
9161
|
super(property, chartAccounts);
|
|
9162
|
-
this.amount =
|
|
9162
|
+
this.amount = -depreciations.getCurrentYearForecastAmount(dateRange);
|
|
9163
9163
|
this.description = DEPRECIATION_TYPE_LABELS[depreciations.first.type];
|
|
9164
9164
|
}
|
|
9165
9165
|
}
|
|
@@ -9172,7 +9172,7 @@ class PropertyReportItemTransaction extends PropertyReportItem {
|
|
|
9172
9172
|
super(property, chartAccounts);
|
|
9173
9173
|
this.transactions = transactions;
|
|
9174
9174
|
this.property = property;
|
|
9175
|
-
this.amount =
|
|
9175
|
+
this.amount = transactions.sumBy('grossAmount');
|
|
9176
9176
|
this.description = chartAccounts.name;
|
|
9177
9177
|
}
|
|
9178
9178
|
get shareClaimAmount() {
|