taxtank-core 3.0.12 → 3.0.13
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/fesm2022/taxtank-core.mjs +2 -2
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -7547,7 +7547,7 @@ class Transaction extends Transaction$1 {
|
|
|
7547
7547
|
/**
|
|
7548
7548
|
* @TODO claimAmount from backend shouldn't include share%(sharedClaimAmount should), the method is workaround
|
|
7549
7549
|
*/
|
|
7550
|
-
get
|
|
7550
|
+
get grossClaim() {
|
|
7551
7551
|
return this.grossAmount * (this.claimPercent / 100);
|
|
7552
7552
|
}
|
|
7553
7553
|
}
|
|
@@ -9147,7 +9147,7 @@ class PropertyReportItemTransaction extends PropertyReportItem {
|
|
|
9147
9147
|
this.description = chartAccounts.name;
|
|
9148
9148
|
}
|
|
9149
9149
|
get claimAmount() {
|
|
9150
|
-
return Math.abs(this.transactions.sumBy('
|
|
9150
|
+
return Math.abs(this.transactions.sumBy('grossClaim'));
|
|
9151
9151
|
}
|
|
9152
9152
|
}
|
|
9153
9153
|
|