taxtank-core 0.32.42 → 0.32.45
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/collections/bank-account.collection.mjs +7 -11
- package/esm2022/lib/db/Json/chart-accounts/chart-accounts-value.json +22 -0
- package/esm2022/lib/db/Json/holding/holding-type-exchange.json +11 -11
- package/esm2022/lib/db/Models/property/property-valuation.mjs +1 -1
- package/esm2022/lib/forms/transaction/work/work-expense.form.mjs +7 -2
- package/esm2022/lib/models/bank/bank-account.mjs +5 -3
- package/esm2022/lib/models/property/property-valuation.mjs +5 -1
- package/esm2022/lib/services/http/bank/bank-account/bank-account.service.mjs +5 -1
- package/esm2022/lib/services/http/chat/chat.service.mjs +5 -1
- package/fesm2022/taxtank-core.mjs +80 -41
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/collections/bank-account.collection.d.ts +2 -2
- package/lib/db/Models/property/property-valuation.d.ts +2 -0
- package/lib/models/bank/bank-account.d.ts +1 -1
- package/lib/models/property/property-valuation.d.ts +2 -0
- package/lib/services/http/bank/bank-account/bank-account.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -30,9 +30,10 @@ export declare class BankAccountCollection extends Collection<BankAccount> {
|
|
|
30
30
|
*/
|
|
31
31
|
getByPropertiesIds(ids: number[]): BankAccountCollection;
|
|
32
32
|
/**
|
|
33
|
+
* @TODO feature functionality allow to work with shared accounts
|
|
33
34
|
* get collection of active bank accounts
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
+
getActive(): BankAccountCollection;
|
|
36
37
|
/**
|
|
37
38
|
* get reduction of loan (reduction of principle) percentage
|
|
38
39
|
*/
|
|
@@ -76,7 +77,6 @@ export declare class BankAccountCollection extends Collection<BankAccount> {
|
|
|
76
77
|
getLVR(property: Property): number;
|
|
77
78
|
/**
|
|
78
79
|
* @TODO Alex/Vik: maybe we should get it from jwtToken or think about some localStorageService?
|
|
79
|
-
* get own bankAccounts active for current financial year
|
|
80
80
|
*/
|
|
81
81
|
getOwn(): this;
|
|
82
82
|
getActiveLoanAccountsByProperties(ids: number[]): BankAccountCollection;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Property } from './property';
|
|
2
2
|
import { PropertyDocument } from '../document/property-document';
|
|
3
3
|
import { ObservableModel } from '../observable-model';
|
|
4
|
+
import { PropertyCategoryMovement } from './property-category-movement';
|
|
4
5
|
export declare class PropertyValuation extends ObservableModel {
|
|
5
6
|
date?: Date;
|
|
6
7
|
marketValue?: number;
|
|
@@ -9,4 +10,5 @@ export declare class PropertyValuation extends ObservableModel {
|
|
|
9
10
|
updatedAt?: Date;
|
|
10
11
|
property?: Property;
|
|
11
12
|
document?: PropertyDocument;
|
|
13
|
+
categoryMovement?: PropertyCategoryMovement;
|
|
12
14
|
}
|
|
@@ -77,7 +77,7 @@ export declare class BankAccount extends BankAccountBase {
|
|
|
77
77
|
getPropertyBalanceAmount(propertyId: number): number;
|
|
78
78
|
getMonthlyRepaymentAmount(propertyId: number): number;
|
|
79
79
|
/**
|
|
80
|
-
* Check if bank account is active (has 'active' status or hasn't been paid out/refinanced)
|
|
80
|
+
* Check if bank account is active for current financial year (has 'active' status or hasn't been paid out/refinanced)
|
|
81
81
|
*/
|
|
82
82
|
isActive(): boolean;
|
|
83
83
|
/**
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { PropertyValuation as PropertyValuationBase } from '../../db/Models/property/property-valuation';
|
|
2
2
|
import { PropertyDocument } from './property-document';
|
|
3
|
+
import { PropertyCategoryMovement } from './property-category-movement';
|
|
3
4
|
export declare class PropertyValuation extends PropertyValuationBase {
|
|
4
5
|
date: Date;
|
|
5
6
|
document: PropertyDocument;
|
|
7
|
+
categoryMovement: PropertyCategoryMovement;
|
|
6
8
|
get financialYear(): number;
|
|
7
9
|
isCurrentYear(): boolean;
|
|
8
10
|
}
|
|
@@ -20,6 +20,7 @@ export declare class BankAccountService extends RestService<BankAccountBase, Ban
|
|
|
20
20
|
collectionClass: typeof BankAccountCollection;
|
|
21
21
|
disabledMethods: RestMethod[];
|
|
22
22
|
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, sseService: SseService, environment: any);
|
|
23
|
+
getActive(): Observable<BankAccountCollection>;
|
|
23
24
|
/**
|
|
24
25
|
* Listen system notifications and update cache when got basiq notification received
|
|
25
26
|
*/
|