taxtank-core 0.32.131 → 0.32.132
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/forms/holding/holding-reinvest.form.mjs +1 -3
- package/esm2022/lib/forms/report/my-tax/my-tax-deductions.form.mjs +1 -1
- package/esm2022/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +4 -4
- package/fesm2022/taxtank-core.mjs +2 -5
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/forms/report/my-tax/my-tax-deductions.form.d.ts +1 -1
- package/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.d.ts +1 -1
- package/package.json +1 -1
@@ -72,8 +72,6 @@ export class HoldingReinvestForm extends AbstractForm {
|
|
72
72
|
*/
|
73
73
|
submit() {
|
74
74
|
const value = this.transactionForm.getRawValue();
|
75
|
-
console.log(value.amount);
|
76
|
-
console.log(this.get('cashVariance').value);
|
77
75
|
return super.submit({
|
78
76
|
transaction: this.transactionForm.submit({
|
79
77
|
type: TransactionTypeEnum.CREDIT,
|
@@ -84,4 +82,4 @@ export class HoldingReinvestForm extends AbstractForm {
|
|
84
82
|
});
|
85
83
|
}
|
86
84
|
}
|
87
|
-
//# sourceMappingURL=data:application/json;base64,
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZGluZy1yZWludmVzdC5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL2hvbGRpbmcvaG9sZGluZy1yZWludmVzdC5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1B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GF0ZTogRGF0ZSkgPT4ge1xuICAgICAgdGhpcy5nZXQoWydob2xkaW5nJywgJ2RhdGUnXSkuc2V0VmFsdWUoZGF0ZSk7XG4gICAgfSk7XG4gIH1cblxuICAvKipcbiAgICogQFRPRE8gQWxleCAoVFQtMjg0Nyk6IGF0dGFjaCBmaWxlIHRvIGJvdGggKHRyYW5zYWN0aW9uIGFuZCBob2xkaW5nKSB3aGVuIGZpbGVzIHN5c3RlbSByZWZhY3RvcmVkXG4gICAqL1xuICBzdWJtaXQoKTogSG9sZGluZ1JlaW52ZXN0IHtcbiAgICBjb25zdCB2YWx1ZSA9IHRoaXMudHJhbnNhY3Rpb25Gb3JtLmdldFJhd1ZhbHVlKCk7XG5cbiAgICByZXR1cm4gc3VwZXIuc3VibWl0KHtcbiAgICAgIHRyYW5zYWN0aW9uOiB0aGlzLnRyYW5zYWN0aW9uRm9ybS5zdWJtaXQoe1xuICAgICAgICB0eXBlOiBUcmFuc2FjdGlvblR5cGVFbnVtLkNSRURJVCxcbiAgICAgICAgZGVzY3JpcHRpb246IGBSZWludmVzdG1lbnQgLSAke3ZhbHVlLmluY29tZVNvdXJjZS5uYW1lfWAsXG4gICAgICAgIGFtb3VudDogdmFsdWUuYW1vdW50IC0gdGhpcy5nZXQoJ2Nhc2hWYXJpYW5jZScpLnZhbHVlXG4gICAgICB9KSxcbiAgICAgIGhvbGRpbmc6IHRoaXMuaG9sZGluZ0Zvcm0uc3VibWl0KClcbiAgICB9KTtcbiAgfVxufVxuIl19
|
@@ -82,4 +82,4 @@ export class MyTaxDeductionsForm extends AbstractForm {
|
|
82
82
|
});
|
83
83
|
}
|
84
84
|
}
|
85
|
-
//# sourceMappingURL=data:application/json;base64,
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktdGF4LWRlZHVjdGlvbnMuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy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HJ1ZVxuICAgICAgfSlcbiAgICB9KTtcbiAgfVxufVxuIl19
|
@@ -4,11 +4,12 @@ import { ChartAccountsHeadingListEnum } from '../../../../db/Enums';
|
|
4
4
|
import { DeductionClothingTypeEnum } from './deduction-clothing-type.enum';
|
5
5
|
import { DeductionSelfEducationTypeEnum } from './deduction-self-education-type.enum';
|
6
6
|
import { TankTypeEnum } from '../../../../db/Enums/tank-type.enum';
|
7
|
+
import { FinancialYear } from '../../../financial-year';
|
7
8
|
export class MyTaxDeductions {
|
8
9
|
/**
|
9
10
|
* can't claim the first $250 of self-education expenses (Item code D4)
|
10
11
|
*/
|
11
|
-
static { this.selfEducationNotDeductibleAmount = -250; }
|
12
|
+
static { this.selfEducationNotDeductibleAmount = new FinancialYear().year > 2022 ? 0 : -250; }
|
12
13
|
constructor(transactions, depreciations, vehicleClaim, vehicleClaimDetails, vehicleClaimRate) {
|
13
14
|
this.transactions = transactions;
|
14
15
|
this.depreciations = depreciations;
|
@@ -89,8 +90,7 @@ export class MyTaxDeductions {
|
|
89
90
|
this.depreciations.filterBy('chartAccounts.heading.id', ChartAccountsHeadingListEnum.TOOLS_EQUIPMENT).sumBy('claimAmount');
|
90
91
|
}
|
91
92
|
calculateWorkRelatedSelfEducationTotalAmount() {
|
92
|
-
return
|
93
|
-
this.workRelatedSelfEducationExpenses.sumBy('claimAmount') - MyTaxDeductions.selfEducationNotDeductibleAmount;
|
93
|
+
return this.workRelatedSelfEducationExpenses ? this.workRelatedSelfEducationExpenses.sumBy('claimAmount') - MyTaxDeductions.selfEducationNotDeductibleAmount : 0;
|
94
94
|
}
|
95
95
|
}
|
96
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktdGF4LWRlZHVjdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3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lvbkNvbGxlY3Rpb24gPSB0aGlzLnRyYW5zYWN0aW9uc1xuICAgICAgLmZpbHRlckJ5KCdjaGFydEFjY291bnRzLmhlYWRpbmcuaWQnLCBERURVQ1RJT05fQ0FURUdPUklFUy5vdGhlckluY29tZVJlbGF0ZWRFeHBlbnNlcyk7XG4gICAgdGhpcy5vdGhlcldvcmtSZWxhdGVkRXhwZW5zZXNUb3RhbEFtb3VudCA9IC1NYXRoLmFicyhvdGhlckluY29tZVJlbGF0ZWRFeHBlbnNlcy5zdW1CeSgnY2xhaW1BbW91bnQnKSkgLVxuICAgICAgdGhpcy5kZXByZWNpYXRpb25zLmZpbHRlckJ5KCdjaGFydEFjY291bnRzLmhlYWRpbmcuaWQnLCBDaGFydEFjY291bnRzSGVhZGluZ0xpc3RFbnVtLlRPT0xTX0VRVUlQTUVOVCkuc3VtQnkoJ2NsYWltQW1vdW50Jyk7XG4gIH1cblxuICBwcml2YXRlIGNhbGN1bGF0ZVdvcmtSZWxhdGVkU2VsZkVkdWNhdGlvblRvdGFsQW1vdW50KCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMud29ya1JlbGF0ZWRTZWxmRWR1Y2F0aW9uRXhwZW5zZXMgPyB0aGlzLndvcmtSZWxhdGVkU2VsZkVkdWNhdGlvbkV4cGVuc2VzLnN1bUJ5KCdjbGFpbUFtb3VudCcpIC0gTXlUYXhEZWR1Y3Rpb25zLnNlbGZFZHVjYXRpb25Ob3REZWR1Y3RpYmxlQW1vdW50IDogMDtcbiAgfVxufVxuIl19
|
@@ -7768,7 +7768,7 @@ class MyTaxDeductions {
|
|
7768
7768
|
/**
|
7769
7769
|
* can't claim the first $250 of self-education expenses (Item code D4)
|
7770
7770
|
*/
|
7771
|
-
static { this.selfEducationNotDeductibleAmount = -250; }
|
7771
|
+
static { this.selfEducationNotDeductibleAmount = new FinancialYear().year > 2022 ? 0 : -250; }
|
7772
7772
|
constructor(transactions, depreciations, vehicleClaim, vehicleClaimDetails, vehicleClaimRate) {
|
7773
7773
|
this.transactions = transactions;
|
7774
7774
|
this.depreciations = depreciations;
|
@@ -7849,8 +7849,7 @@ class MyTaxDeductions {
|
|
7849
7849
|
this.depreciations.filterBy('chartAccounts.heading.id', ChartAccountsHeadingListEnum.TOOLS_EQUIPMENT).sumBy('claimAmount');
|
7850
7850
|
}
|
7851
7851
|
calculateWorkRelatedSelfEducationTotalAmount() {
|
7852
|
-
return
|
7853
|
-
this.workRelatedSelfEducationExpenses.sumBy('claimAmount') - MyTaxDeductions.selfEducationNotDeductibleAmount;
|
7852
|
+
return this.workRelatedSelfEducationExpenses ? this.workRelatedSelfEducationExpenses.sumBy('claimAmount') - MyTaxDeductions.selfEducationNotDeductibleAmount : 0;
|
7854
7853
|
}
|
7855
7854
|
}
|
7856
7855
|
|
@@ -24399,8 +24398,6 @@ class HoldingReinvestForm extends AbstractForm {
|
|
24399
24398
|
*/
|
24400
24399
|
submit() {
|
24401
24400
|
const value = this.transactionForm.getRawValue();
|
24402
|
-
console.log(value.amount);
|
24403
|
-
console.log(this.get('cashVariance').value);
|
24404
24401
|
return super.submit({
|
24405
24402
|
transaction: this.transactionForm.submit({
|
24406
24403
|
type: TransactionTypeEnum.CREDIT,
|