taxtank-core 0.28.103 → 0.28.104
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/bundles/taxtank-core.umd.js +8 -1
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/forms/report/my-tax/my-tax-deductions.form.js +5 -1
- package/esm2015/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.js +5 -2
- package/fesm2015/taxtank-core.js +8 -1
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11765,6 +11765,9 @@
|
|
|
11765
11765
|
this.otherDeductionsTotalAmount = this.transactions
|
|
11766
11766
|
.filterBy('chartAccounts.heading.id', DEDUCTION_CATEGORIES.otherDeductions)
|
|
11767
11767
|
.sumBy('claimAmount');
|
|
11768
|
+
this.depreciationAndCapitalAllowancesTotalAmount = this.depreciations
|
|
11769
|
+
.filter(function (depreciation) { return !depreciation.isLVP(); })
|
|
11770
|
+
.sumBy('claimAmount');
|
|
11768
11771
|
}
|
|
11769
11772
|
MyTaxDeductions.prototype.getVehicleExpensesTotalAmount = function () {
|
|
11770
11773
|
if (this.vehicleClaimDetails) {
|
|
@@ -11782,7 +11785,7 @@
|
|
|
11782
11785
|
MyTaxDeductions.prototype.setOtherWorkRelatedExpensesTotalAmount = function () {
|
|
11783
11786
|
var otherIncomeRelatedExpenses = this.transactions
|
|
11784
11787
|
.filterBy('chartAccounts.heading.id', DEDUCTION_CATEGORIES.otherIncomeRelatedExpenses);
|
|
11785
|
-
this.otherWorkRelatedExpensesTotalAmount = -Math.abs(otherIncomeRelatedExpenses.sumBy('claimAmount'))
|
|
11788
|
+
this.otherWorkRelatedExpensesTotalAmount = -Math.abs(otherIncomeRelatedExpenses.sumBy('claimAmount')) -
|
|
11786
11789
|
this.depreciations.filterBy('chartAccounts.heading.id', exports.ChartAccountsHeadingListEnum.TOOLS_EQUIPMENT).sumBy('claimAmount');
|
|
11787
11790
|
};
|
|
11788
11791
|
MyTaxDeductions.prototype.calculateWorkRelatedSelfEducationTotalAmount = function () {
|
|
@@ -20375,6 +20378,10 @@
|
|
|
20375
20378
|
otherDeductionsTotalAmount: new forms.FormControl({
|
|
20376
20379
|
value: deductions.otherDeductionsTotalAmount,
|
|
20377
20380
|
disabled: true
|
|
20381
|
+
}),
|
|
20382
|
+
depreciationAndCapitalAllowancesTotalAmount: new forms.FormControl({
|
|
20383
|
+
value: deductions.depreciationAndCapitalAllowancesTotalAmount,
|
|
20384
|
+
disabled: true
|
|
20378
20385
|
})
|
|
20379
20386
|
}) || this;
|
|
20380
20387
|
return _this;
|