taxtank-core 0.30.105 → 0.30.106

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.
@@ -22,7 +22,8 @@ export declare enum ChartAccountsListEnum {
22
22
  KLMS_TRAVELLED_FOR_WORK = 24,
23
23
  DIRECTOR_FEES = 6,
24
24
  SALARY_OR_WAGES = 2,
25
- VEHICLES = 25,
25
+ WORK_VEHICLES = 25,
26
+ SOLE_VEHICLES = 721,
26
27
  COMMERCIAL_VEHICLES = 26,
27
28
  VEHICLE_LOAN_INTEREST = 37,
28
29
  VEHICLE_LOAN_PRINCIPAL = 38,
@@ -1,11 +1,11 @@
1
1
  import { User as BaseUser } from '../../db/Models/user/user';
2
2
  import { UserRolesEnum } from '../../db/Enums/user-roles.enum';
3
3
  import { Address } from '../address';
4
- import { ClientDetails } from '../client/client-details';
4
+ import { ClientDetails } from '../client';
5
5
  import { EmployeeDetails } from '../employee/employee-details';
6
6
  import { Phone } from '../phone/phone';
7
- import { ServiceSubscription } from '../service-subscription/service-subscription';
8
- import { ServiceSubscriptionItem } from '../service-subscription/service-subscription-item';
7
+ import { ServiceSubscription } from '../service-subscription';
8
+ import { ServiceSubscriptionItem } from '../service-subscription';
9
9
  import { Photoable } from '../../interfaces';
10
10
  import { SoleDetails } from '../sole';
11
11
  export declare class User extends BaseUser implements Photoable {
@@ -67,4 +67,9 @@ export declare class User extends BaseUser implements Photoable {
67
67
  */
68
68
  getPhotoPlaceholder(): string;
69
69
  isCurrentFinancialYear(): boolean;
70
+ /**
71
+ * financial years available in the app for user
72
+ * starts from 2022 for new users and registeredYear - 1 for old users
73
+ */
74
+ get financialYears(): number;
70
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.30.105",
3
+ "version": "0.30.106",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",