taxtank-core 0.30.110 → 0.30.111
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/esm2020/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +3 -1
- package/esm2020/lib/forms/transaction/transaction-base.form.mjs +4 -1
- package/esm2020/lib/models/chart-accounts/chart-accounts.mjs +12 -4
- package/fesm2015/taxtank-core.mjs +16 -3
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +16 -3
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +2 -0
- package/lib/models/chart-accounts/chart-accounts.d.ts +4 -1
- package/package.json +1 -1
|
@@ -78,12 +78,14 @@ export declare enum ChartAccountsListEnum {
|
|
|
78
78
|
REGISTRATION = 686,
|
|
79
79
|
LEASE_INTEREST_PAYMENTS = 687,
|
|
80
80
|
SOLE_VEHICLE_LOAN_INTEREST = 688,
|
|
81
|
+
SOLE_VEHICLE_LOAN_PRINCIPAL = 855,
|
|
81
82
|
INSURANCE = 689,
|
|
82
83
|
TYRES = 690,
|
|
83
84
|
BATTERIES = 691,
|
|
84
85
|
CAR_WASH = 692,
|
|
85
86
|
PARKING_TOLLS = 693,
|
|
86
87
|
OTHER_SOLE_EXPENSES = 694,
|
|
88
|
+
SOLE_ENTERTAINMENT = 698,
|
|
87
89
|
PERSONAL_EXPENSES = 628,
|
|
88
90
|
PERSONAL_INCOME = 630,
|
|
89
91
|
PLATFORM_FEES = 857,
|
|
@@ -82,6 +82,8 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
82
82
|
* Check if transaction chart account is work related car expenses
|
|
83
83
|
*/
|
|
84
84
|
isVehicleLoanExpense(): boolean;
|
|
85
|
+
isVehicleLoanPrinciple(): boolean;
|
|
86
|
+
isVehicleLoanInterest(): boolean;
|
|
85
87
|
/**
|
|
86
88
|
* Get chart accounts value for current financial year
|
|
87
89
|
*/
|
|
@@ -92,7 +94,8 @@ export declare class ChartAccounts extends ChartAccountsBase {
|
|
|
92
94
|
getValueByYear(year: number): ChartAccountsValue;
|
|
93
95
|
/**
|
|
94
96
|
* no way to check how much used for work/sole, so we let user adjust it
|
|
95
|
-
* except vehicle expense, which is equal to vehicleClaim.workUsage
|
|
97
|
+
* except vehicle expense, which is equal to vehicleClaim.workUsage
|
|
98
|
+
* except when taxablePercent=0, but not SOLE_ENTERTAINMENT
|
|
96
99
|
*/
|
|
97
100
|
isClaimPercentEditable(): boolean;
|
|
98
101
|
/**
|