taxtank-core 0.32.130 → 0.32.132

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZGluZy1yZWludmVzdC5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL2hvbGRpbmcvaG9sZGluZy1yZWludmVzdC5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDbkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFDM0UsT0FBTyxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV6RDs7R0FFRztBQUNILE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxZQUE2QjtJQUNwRSxZQUFvQixRQUF5QjtRQUMzQyxLQUFLLENBQUM7WUFDSiwrRkFBK0Y7WUFDL0YsWUFBWSxFQUFFLElBQUksV0FBVyxDQUFDLEVBQUUsS0FBSyxFQUFFLENBQUMsRUFBRSxRQUFRL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LmdldChbJ3RyYW5zYWN0aW9uJywgJ2RhdGUnXSkudmFsdWVDaGFuZ2VzLnN1YnNjcmliZSgoZGF0ZTogRGF0ZSkgPT4ge1xuICAgICAgdGhpcy5nZXQoWydob2xkaW5nJywgJ2RhdGUnXSkuc2V0VmFsdWUoZGF0ZSk7XG4gICAgfSk7XG4gIH1cblxuICAvKipcbiAgICogQFRPRE8gQWxleCAoVFQtMjg0Nyk6IGF0dGFjaCBmaWxlIHRvIGJvdGggKHRyYW5zYWN0aW9uIGFuZCBob2xkaW5nKSB3aGVuIGZpbGVzIHN5c3RlbSByZWZhY3RvcmVkXG4gICAqL1xuICBzdWJtaXQoKTogSG9sZGluZ1JlaW52ZXN0IHtcbiAgICBjb25zdCB2YWx1ZSA9IHRoaXMudHJhbnNhY3Rpb25Gb3JtLmdldFJhd1ZhbHVlKCk7XG5cbiAgICByZXR1cm4gc3VwZXIuc3VibWl0KHtcbiAgICAgIHRyYW5zYWN0aW9uOiB0aGlzLnRyYW5zYWN0aW9uRm9ybS5zdWJtaXQoe1xuICAgICAgICB0eXBlOiBUcmFuc2FjdGlvblR5cGVFbnVtLkNSRURJVCxcbiAgICAgICAgZGVzY3JpcHRpb246IGBSZWludmVzdG1lbnQgLSAke3ZhbHVlLmluY29tZVNvdXJjZS5uYW1lfWAsXG4gICAgICAgIGFtb3VudDogdmFsdWUuYW1vdW50IC0gdGhpcy5nZXQoJ2Nhc2hWYXJpYW5jZScpLnZhbHVlXG4gICAgICB9KSxcbiAgICAgIGhvbGRpbmc6IHRoaXMuaG9sZGluZ0Zvcm0uc3VibWl0KClcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -82,4 +82,4 @@ export class MyTaxDeductionsForm extends AbstractForm {
82
82
  });
83
83
  }
84
84
  }
85
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktdGF4LWRlZHVjdGlvbnMuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2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nVlXG4gICAgICB9KSxcbiAgICAgIGRlcHJlY2lhdGlvbkFuZENhcGl0YWxBbGxvd2FuY2VzVG90YWxBbW91bnQ6IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2woe1xuICAgICAgICB2YWx1ZTogZGVkdWN0aW9ucy5kZXByZWNpYXRpb25BbmRDYXBpdGFsQWxsb3dhbmNlc1RvdGFsQW1vdW50LFxuICAgICAgICBkaXNhYmxlZDogdHJ1ZVxuICAgICAgfSlcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -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 !this.workRelatedSelfEducationExpenses ? 0 :
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/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VudCBkZXByZWNpYXRpb25zXG4gICAqL1xuICBwcml2YXRlIHNldE90aGVyV29ya1JlbGF0ZWRFeHBlbnNlc1RvdGFsQW1vdW50KCk6IHZvaWQge1xuICAgIGNvbnN0IG90aGVySW5jb21lUmVsYXRlZEV4cGVuc2VzOiBUcmFuc2FjdGlvbkNvbGxlY3Rpb24gPSB0aGlzLnRyYW5zYWN0aW9uc1xuICAgICAgLmZpbHRlckJ5KCdjaGFydEFjY291bnRzLmhlYWRpbmcuaWQnLCBERURVQ1RJT05fQ0FURUdPUklFUy5vdGhlckluY29tZVJlbGF0ZWRFeHBlbnNlcyk7XG4gICAgdGhpcy5vdGhlcldvcmtSZWxhdGVkRXhwZW5zZXNUb3RhbEFtb3VudCA9IC1NYXRoLmFicyhvdGhlckluY29tZVJlbGF0ZWRFeHBlbnNlcy5zdW1CeSgnY2xhaW1BbW91bnQnKSkgLVxuICAgICAgdGhpcy5kZXByZWNpYXRpb25zLmZpbHRlckJ5KCdjaGFydEFjY291bnRzLmhlYWRpbmcuaWQnLCBDaGFydEFjY291bnRzSGVhZGluZ0xpc3RFbnVtLlRPT0xTX0VRVUlQTUVOVCkuc3VtQnkoJ2NsYWltQW1vdW50Jyk7XG4gIH1cblxuICBwcml2YXRlIGNhbGN1bGF0ZVdvcmtSZWxhdGVkU2VsZkVkdWNhdGlvblRvdGFsQW1vdW50KCk6IG51bWJlciB7XG4gICAgcmV0dXJuIHRoaXMud29ya1JlbGF0ZWRTZWxmRWR1Y2F0aW9uRXhwZW5zZXMgPyB0aGlzLndvcmtSZWxhdGVkU2VsZkVkdWNhdGlvbkV4cGVuc2VzLnN1bUJ5KCdjbGFpbUFtb3VudCcpIC0gTXlUYXhEZWR1Y3Rpb25zLnNlbGZFZHVjYXRpb25Ob3REZWR1Y3RpYmxlQW1vdW50IDogMDtcbiAgfVxufVxuIl19
@@ -9,9 +9,7 @@ import { SoleInvoiceStatusesEnum } from '../../db/Enums/sole-invoice-statuses.en
9
9
  import { BankAccount } from '../bank';
10
10
  import { SoleInvoiceTaxTypeEnum } from '../../db/Enums/sole-invoice-tax-type.enum';
11
11
  import { SoleInvoiceItemCollection } from '../../collections';
12
- import ceil from 'lodash/ceil';
13
12
  import { Transaction, TransactionAllocation } from '../transaction';
14
- import round from 'lodash/round';
15
13
  export class SoleInvoice extends SoleInvoiceBase {
16
14
  constructor() {
17
15
  super(...arguments);
@@ -29,13 +27,13 @@ export class SoleInvoice extends SoleInvoiceBase {
29
27
  * total without GST
30
28
  */
31
29
  get netPrice() {
32
- return ceil(this.itemsCollection.getTotalPrice(this.taxType), 2);
30
+ return this.itemsCollection.getTotalPrice(this.taxType);
33
31
  }
34
32
  /**
35
33
  * total + GST
36
34
  */
37
35
  get grossPrice() {
38
- return ceil(this.itemsCollection.getTotalPrice(this.taxType, true), 2);
36
+ return this.itemsCollection.getTotalPrice(this.taxType, true);
39
37
  }
40
38
  get gstAmount() {
41
39
  return this.grossPrice - this.netPrice;
@@ -116,7 +114,7 @@ export class SoleInvoice extends SoleInvoiceBase {
116
114
  return this.items.map((item) => {
117
115
  const transaction = plainToClass(Transaction, item.toTransaction());
118
116
  transaction.date = date;
119
- transaction.amount = round(item.getTotalPrice(this.taxType) * allocationCoefficient, 2);
117
+ transaction.amount = item.getTotalPrice(this.taxType) * allocationCoefficient;
120
118
  return transaction;
121
119
  });
122
120
  }
@@ -142,4 +140,4 @@ __decorate([
142
140
  __decorate([
143
141
  Type(() => BankAccount)
144
142
  ], SoleInvoice.prototype, "bankAccount", void 0);
145
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9zb2xlL3NvbGUtaW52b2ljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQ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BhbGxvY2F0aW9uQ29lZmZpY2llbnQsXG4gICAgICAgIGJhbmtUcmFuc2FjdGlvbjogYmFua1RyYW5zYWN0aW9uLFxuICAgICAgfSldO1xuXG4gICAgICByZXR1cm4gdHJhbnNhY3Rpb247XG4gICAgfSk7XG4gIH1cblxuICBjcmVhdGVUcmFuc2FjdGlvbnMoZGF0ZTogRGF0ZSwgYW1vdW50OiBudW1iZXIpOiBUcmFuc2FjdGlvbltdIHtcbiAgICAvLyBQZXJjZW50IG9mIGFsbG9jYXRpb246IFdoZW4gYW1vdW50IGlzIGxlc3MgdGhhbiBpbnZvaWNlIHVuYWxsb2NhdGVkIGFtb3VudCB0aGVuIHdlIGhhdmUgdG8gYWxsb2NhdGUgaXRzIGl0ZW1zIHByb3BvcnRpYW5hbGx5XG4gICAgY29uc3QgYWxsb2NhdGlvbkNvZWZmaWNpZW50OiBudW1iZXIgPSBhbW91bnQgPyBhbW91bnQgLyB0aGlzLmdyb3NzUHJpY2UgOiAxO1xuXG4gICAgcmV0dXJuIHRoaXMuaXRlbXMubWFwKChpdGVtOiBTb2xlSW52b2ljZUl0ZW0pID0+IHtcbiAgICAgIGNvbnN0IHRyYW5zYWN0aW9uID0gcGxhaW5Ub0NsYXNzKFRyYW5zYWN0aW9uLCBpdGVtLnRvVHJhbnNhY3Rpb24oKSk7XG4gICAgICB0cmFuc2FjdGlvbi5kYXRlID0gZGF0ZTtcbiAgICAgIHRyYW5zYWN0aW9uLmFtb3VudCA9IGl0ZW0uZ2V0VG90YWxQcmljZSh0aGlzLnRheFR5cGUpICogYWxsb2NhdGlvbkNvZWZmaWNpZW50O1xuXG4gICAgICByZXR1cm4gdHJhbnNhY3Rpb247XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -19,7 +19,6 @@ import orderBy from 'lodash/orderBy';
19
19
  import uniq from 'lodash/uniq';
20
20
  import moment from 'moment';
21
21
  import { DateRange } from 'moment-range';
22
- import ceil from 'lodash/ceil';
23
22
  import round from 'lodash/round';
24
23
  import range from 'lodash/range';
25
24
  import { Validators, FormGroup, FormArray, UntypedFormControl, UntypedFormArray, UntypedFormGroup, FormControl } from '@angular/forms';
@@ -5024,13 +5023,13 @@ class SoleInvoice extends SoleInvoice$1 {
5024
5023
  * total without GST
5025
5024
  */
5026
5025
  get netPrice() {
5027
- return ceil(this.itemsCollection.getTotalPrice(this.taxType), 2);
5026
+ return this.itemsCollection.getTotalPrice(this.taxType);
5028
5027
  }
5029
5028
  /**
5030
5029
  * total + GST
5031
5030
  */
5032
5031
  get grossPrice() {
5033
- return ceil(this.itemsCollection.getTotalPrice(this.taxType, true), 2);
5032
+ return this.itemsCollection.getTotalPrice(this.taxType, true);
5034
5033
  }
5035
5034
  get gstAmount() {
5036
5035
  return this.grossPrice - this.netPrice;
@@ -5111,7 +5110,7 @@ class SoleInvoice extends SoleInvoice$1 {
5111
5110
  return this.items.map((item) => {
5112
5111
  const transaction = plainToClass(Transaction, item.toTransaction());
5113
5112
  transaction.date = date;
5114
- transaction.amount = round(item.getTotalPrice(this.taxType) * allocationCoefficient, 2);
5113
+ transaction.amount = item.getTotalPrice(this.taxType) * allocationCoefficient;
5115
5114
  return transaction;
5116
5115
  });
5117
5116
  }
@@ -7769,7 +7768,7 @@ class MyTaxDeductions {
7769
7768
  /**
7770
7769
  * can't claim the first $250 of self-education expenses (Item code D4)
7771
7770
  */
7772
- static { this.selfEducationNotDeductibleAmount = -250; }
7771
+ static { this.selfEducationNotDeductibleAmount = new FinancialYear().year > 2022 ? 0 : -250; }
7773
7772
  constructor(transactions, depreciations, vehicleClaim, vehicleClaimDetails, vehicleClaimRate) {
7774
7773
  this.transactions = transactions;
7775
7774
  this.depreciations = depreciations;
@@ -7850,8 +7849,7 @@ class MyTaxDeductions {
7850
7849
  this.depreciations.filterBy('chartAccounts.heading.id', ChartAccountsHeadingListEnum.TOOLS_EQUIPMENT).sumBy('claimAmount');
7851
7850
  }
7852
7851
  calculateWorkRelatedSelfEducationTotalAmount() {
7853
- return !this.workRelatedSelfEducationExpenses ? 0 :
7854
- this.workRelatedSelfEducationExpenses.sumBy('claimAmount') - MyTaxDeductions.selfEducationNotDeductibleAmount;
7852
+ return this.workRelatedSelfEducationExpenses ? this.workRelatedSelfEducationExpenses.sumBy('claimAmount') - MyTaxDeductions.selfEducationNotDeductibleAmount : 0;
7855
7853
  }
7856
7854
  }
7857
7855
 
@@ -24400,8 +24398,6 @@ class HoldingReinvestForm extends AbstractForm {
24400
24398
  */
24401
24399
  submit() {
24402
24400
  const value = this.transactionForm.getRawValue();
24403
- console.log(value.amount);
24404
- console.log(this.get('cashVariance').value);
24405
24401
  return super.submit({
24406
24402
  transaction: this.transactionForm.submit({
24407
24403
  type: TransactionTypeEnum.CREDIT,