taxtank-core 0.33.50 → 0.33.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/esm2022/src/lib/collections/depreciation.collection.mjs +2 -2
  2. package/esm2022/src/lib/collections/income-source/income-source.collection.mjs +2 -2
  3. package/esm2022/src/lib/collections/sole/sole-invoice.collection.mjs +4 -2
  4. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
  5. package/esm2022/src/lib/collections/vehicle/vehicle-logbook.collection.mjs +2 -2
  6. package/esm2022/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.mjs +2 -2
  7. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.mjs +4 -1
  8. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +2 -2
  9. package/esm2022/src/lib/db/Enums/tank-type.enum.mjs +6 -6
  10. package/esm2022/src/lib/db/Models/bank/bank-account.mjs +1 -1
  11. package/esm2022/src/lib/db/Models/transaction/transaction-base.mjs +6 -6
  12. package/esm2022/src/lib/forms/bank/bank-account/bank-account-allocation.form.mjs +3 -3
  13. package/esm2022/src/lib/forms/bank/bank-account/bank-account-properties.form.mjs +2 -2
  14. package/esm2022/src/lib/forms/sole/sole-business-allocations.form.mjs +2 -2
  15. package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +11 -11
  16. package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +3 -3
  17. package/esm2022/src/lib/forms/transaction/work/work-income.form.mjs +6 -4
  18. package/esm2022/src/lib/models/bank/allocation-group.mjs +2 -2
  19. package/esm2022/src/lib/models/bank/bank-account.mjs +1 -12
  20. package/esm2022/src/lib/models/bank/bank-transaction.mjs +3 -2
  21. package/esm2022/src/lib/models/report/my-tax/my-tax-deductions/my-tax-deductions.mjs +2 -2
  22. package/esm2022/src/lib/models/report/vehicle-expense/vehicle-expense.mjs +1 -1
  23. package/esm2022/src/lib/models/transaction/allocation-rule.mjs +4 -4
  24. package/esm2022/src/lib/models/transaction/transaction.mjs +3 -4
  25. package/esm2022/src/lib/models/user/user.mjs +5 -5
  26. package/esm2022/src/lib/models/vehicle/vehicle-claim.mjs +2 -2
  27. package/esm2022/src/lib/models/vehicle/vehicle-logbook.mjs +3 -3
  28. package/fesm2022/taxtank-core.mjs +57 -62
  29. package/fesm2022/taxtank-core.mjs.map +1 -1
  30. package/package.json +1 -1
  31. package/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.d.ts +1 -1
  32. package/src/lib/db/Enums/chart-accounts/chart-accounts-adjustment-included-list.enum.d.ts +3 -0
  33. package/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +1 -1
  34. package/src/lib/db/Enums/tank-type.enum.d.ts +5 -5
  35. package/src/lib/db/Models/bank/bank-account.d.ts +2 -0
  36. package/src/lib/models/bank/bank-account.d.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.50",
3
+ "version": "0.33.52",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -37,7 +37,7 @@ export declare enum BusinessChartAccountsEnum {
37
37
  ELECTRICITY_AND_GAS = 892,
38
38
  HOME_OFFICE_CLEANING = 893,
39
39
  INTERNET = 705,
40
- TELEPHONE = 11860,
40
+ TELEPHONE = 11862,
41
41
  MOBILE_PHONE = 719,
42
42
  HOME_OFFICE_RENT = 889,
43
43
  HOME_OFFICE_LOAN = 890,
@@ -1,3 +1,6 @@
1
+ /**
2
+ * list of child transactions included in parent amount
3
+ */
1
4
  export declare enum ChartAccountsAdjustmentIncludedListEnum {
2
5
  ALLOWANCE = 4,
3
6
  TIPS = 5,
@@ -55,5 +55,5 @@ export declare enum ChartAccountsListEnum {
55
55
  INTERNET = 94,
56
56
  ELECTRICITY_AND_GAS = 234,
57
57
  TELEPHONE = 255,
58
- HOME_OFFICE_CLEANING = 11861
58
+ HOME_OFFICE_CLEANING = 11871
59
59
  }
@@ -1,8 +1,8 @@
1
1
  export declare enum TankTypeEnum {
2
- PROPERTY = 1,
3
- WORK = 2,
4
- OTHER = 3,
5
- SOLE = 4,
6
- HOLDING = 5,
2
+ PROPERTY_TANK = 1,
3
+ WORK_TANK = 2,
4
+ OTHER_TANK = 3,
5
+ SOLE_TANK = 4,
6
+ HOLDING_TANK = 5,
7
7
  PERSONAL = 6
8
8
  }
@@ -6,11 +6,13 @@ import { BankAccountBalance } from './bank-account-balance';
6
6
  import { Loan } from '../loan/loan';
7
7
  import { SoleBusinessAllocation } from '../sole/sole-business-allocation';
8
8
  import { ObservableModel } from '../observable-model';
9
+ import { TankTypeEnum } from '../../Enums/tank-type.enum';
9
10
  export declare class BankAccount extends ObservableModel {
10
11
  static className: string;
11
12
  status?: BankAccountStatusEnum;
12
13
  accountId?: string;
13
14
  type?: BankAccountTypeEnum;
15
+ tankType?: TankTypeEnum;
14
16
  accountName?: string;
15
17
  nickname?: string;
16
18
  accountNumber?: string;
@@ -1,7 +1,6 @@
1
1
  import { BankAccount as BankAccountBase } from '../../db/Models/bank/bank-account';
2
2
  import { BankAccountTypeEnum } from '../../db/Enums';
3
3
  import { Loan } from '../loan';
4
- import { TankTypeEnum } from '../../db/Enums/tank-type.enum';
5
4
  import { BankAccountBalance } from '../../db/Models';
6
5
  import { BankAccountProperty } from './bank-account-property';
7
6
  import { BankConnection } from './bank-connection';
@@ -54,7 +53,6 @@ export declare class BankAccount extends BankAccountBase {
54
53
  * check if bank account related to sole tank
55
54
  */
56
55
  isSoleTank(): boolean;
57
- get tankType(): TankTypeEnum;
58
56
  /**
59
57
  * Get Bank account property by id
60
58
  * @param id Id of property