taxtank-core 3.0.11 → 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 +4 -4
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3902,7 +3902,7 @@ var ChartAccountsValues = [
|
|
|
3902
3902
|
financialYear: 2026,
|
|
3903
3903
|
startDate: null,
|
|
3904
3904
|
endDate: null,
|
|
3905
|
-
value: 0.
|
|
3905
|
+
value: 0.0878,
|
|
3906
3906
|
unitOfMeasure: "kWh",
|
|
3907
3907
|
createdAt: "2026-06-27 00:00:00",
|
|
3908
3908
|
updatedAt: "2026-06-27 00:00:00"
|
|
@@ -3915,7 +3915,7 @@ var ChartAccountsValues = [
|
|
|
3915
3915
|
financialYear: 2027,
|
|
3916
3916
|
startDate: null,
|
|
3917
3917
|
endDate: null,
|
|
3918
|
-
value: 0.
|
|
3918
|
+
value: 0.0878,
|
|
3919
3919
|
unitOfMeasure: "kWh",
|
|
3920
3920
|
createdAt: "2026-06-27 00:00:00",
|
|
3921
3921
|
updatedAt: "2026-06-27 00:00:00"
|
|
@@ -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
|
|