taxtank-core 0.32.6 → 0.32.9
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/esm2022/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +3 -1
- package/esm2022/lib/db/Models/user/user.mjs +1 -1
- package/esm2022/lib/forms/transaction/allocation-rule.form.mjs +2 -2
- package/esm2022/lib/models/chart-accounts/chart-accounts.mjs +21 -6
- package/esm2022/lib/models/property/property-sale/property-sale.mjs +2 -2
- package/esm2022/lib/models/property/property-share.mjs +2 -2
- package/esm2022/lib/models/user/user.mjs +4 -1
- package/fesm2022/taxtank-core.mjs +27 -7
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +3 -1
- package/lib/db/Models/user/user.d.ts +0 -1
- package/lib/models/chart-accounts/chart-accounts.d.ts +7 -1
- package/lib/models/user/user.d.ts +1 -0
- package/package.json +1 -1
|
@@ -62,6 +62,8 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
62
62
|
isIncome(): boolean;
|
|
63
63
|
isExpense(): boolean;
|
|
64
64
|
isProperty(): boolean;
|
|
65
|
+
isWork(): boolean;
|
|
66
|
+
isSole(): boolean;
|
|
65
67
|
isWorkExpense(): boolean;
|
|
66
68
|
isSoleExpense(): boolean;
|
|
67
69
|
/**
|
|
@@ -78,7 +80,6 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
78
80
|
* Check if chart accounts category is depreciation
|
|
79
81
|
*/
|
|
80
82
|
isDepreciation(): boolean;
|
|
81
|
-
isSoleIncome(): boolean;
|
|
82
83
|
/**
|
|
83
84
|
* Check if transaction chart account is work related car expenses
|
|
84
85
|
*/
|
|
@@ -111,8 +112,13 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
111
112
|
*/
|
|
112
113
|
isSalaryIncluded(): boolean;
|
|
113
114
|
isPropertyCapitalWorks(): boolean;
|
|
115
|
+
hasTaxField(): boolean;
|
|
114
116
|
isTaxable(): boolean;
|
|
115
117
|
isTransfer(): boolean;
|
|
116
118
|
isDividends(): boolean;
|
|
117
119
|
isHomeOfficeWorkHours(): boolean;
|
|
120
|
+
/**
|
|
121
|
+
* income requiring extra data like adjustments/payer/etc
|
|
122
|
+
*/
|
|
123
|
+
isIncomeWithMeta(): boolean;
|
|
118
124
|
}
|
|
@@ -22,6 +22,7 @@ export declare class User extends BaseUser implements MpTrackableInterface {
|
|
|
22
22
|
file: AppFile;
|
|
23
23
|
blacklistSetupItems: AccountSetupItem[];
|
|
24
24
|
get fullName(): string;
|
|
25
|
+
get photo(): string;
|
|
25
26
|
get activeSubscription(): ServiceSubscription;
|
|
26
27
|
get lastSubscription(): ServiceSubscription;
|
|
27
28
|
/**
|