taxtank-core 0.33.26 → 0.33.28
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/report/income-expense/transaction-report-item.collection.mjs +1 -3
- package/esm2022/src/lib/forms/transaction/transaction-base-filter.form.mjs +6 -1
- package/esm2022/src/lib/models/event/app-event-type.enum.mjs +21 -22
- package/esm2022/src/lib/models/transaction/transaction.mjs +3 -3
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +3 -12
- package/fesm2022/taxtank-core.mjs +28 -35
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/forms/transaction/transaction-base-filter.form.d.ts +1 -0
- package/src/lib/models/event/app-event-type.enum.d.ts +20 -21
- package/src/lib/services/http/transaction/transaction.service.d.ts +1 -6
package/package.json
CHANGED
@@ -11,6 +11,7 @@ interface ITransactionBaseFilterControls extends ControlsInterface {
|
|
11
11
|
properties: FormControl<Property[]>;
|
12
12
|
dateFrom: FormControl<Date>;
|
13
13
|
dateTo: FormControl<Date>;
|
14
|
+
chartAccounts: FormControl<string>;
|
14
15
|
}
|
15
16
|
export declare class TransactionBaseFilterForm extends FormGroup<ITransactionBaseFilterControls> implements IEventListener {
|
16
17
|
constructor(tankType?: TankTypeEnum, business?: SoleBusiness, properties?: Property[]);
|
@@ -35,25 +35,24 @@ export declare enum AppEventTypeEnum {
|
|
35
35
|
PROPERTY_MOVEMENT_CREATED = 30,
|
36
36
|
PROPERTY_MOVEMENT_UPDATED = 31,
|
37
37
|
PROPERTY_MOVEMENT_DELETED = 32,
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED = 53
|
38
|
+
PROPERTY_SALE_ADDED = 33,
|
39
|
+
PROPERTY_SALE_DELETED = 34,
|
40
|
+
PROPERTY_SUBSCRIPTION_ADDED = 35,
|
41
|
+
PROPERTY_SUBSCRIPTION_DELETED = 36,
|
42
|
+
PROPERTY_VALUATION_DOCUMENT_CREATED = 37,
|
43
|
+
SOLE_DEPRECIATION_METHOD_UPDATED = 38,
|
44
|
+
SOLE_INVOICE_PUBLISHED = 39,
|
45
|
+
TAX_REVIEW_UPDATED = 40,
|
46
|
+
TRANSACTION_ALLOCATION_CREATED = 41,
|
47
|
+
TRANSACTION_ALLOCATION_DELETED = 42,
|
48
|
+
TRANSACTION_CREATED = 43,
|
49
|
+
TRANSACTION_DELETED = 44,
|
50
|
+
TRANSACTION_UPDATED = 45,
|
51
|
+
TRANSACTIONS_CREATED = 46,
|
52
|
+
VEHICLE_CLAIM_DETAILS_UPDATED = 47,
|
53
|
+
VEHICLE_CLAIM_DETAILS_CREATED = 48,
|
54
|
+
VEHICLE_LOGBOOK_CREATED = 49,
|
55
|
+
VEHICLE_LOGBOOK_UPDATED = 50,
|
56
|
+
VEHICLE_LOGBOOK_DELETED = 51,
|
57
|
+
VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED = 52
|
59
58
|
}
|
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
3
3
|
import { Transaction as TransactionBase } from '../../../db/Models/transaction/transaction';
|
4
4
|
import { RestService } from '../rest/rest-old.service';
|
5
|
-
import {
|
5
|
+
import { Transaction } from '../../../models';
|
6
6
|
import { HttpClient } from '@angular/common/http';
|
7
7
|
import { EventDispatcherService } from '../../event';
|
8
8
|
import { IEventListener } from '../../../interfaces';
|
@@ -26,7 +26,6 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
|
|
26
26
|
* get list of all user's TaxTank transactions
|
27
27
|
*/
|
28
28
|
get(): Observable<Transaction[]>;
|
29
|
-
getByYear(year?: FinancialYear): Observable<Transaction[]>;
|
30
29
|
/**
|
31
30
|
* Add single new transaction
|
32
31
|
* @param model New Transaction instance for saving
|
@@ -73,10 +72,6 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
|
|
73
72
|
* Listen to EventDispatcherService event related to Depreciation changing
|
74
73
|
*/
|
75
74
|
private listenDepreciationChange;
|
76
|
-
/**
|
77
|
-
* Listen to EventDispatcherService event related to Property Share changing
|
78
|
-
*/
|
79
|
-
private listenPropertyShareUpdate;
|
80
75
|
private listenVehicleClaimChanges;
|
81
76
|
/**
|
82
77
|
* property forecast includes claimPercent which affects property related expenses
|