taxtank-core 0.33.44 → 0.33.46
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +5 -2
- package/esm2022/src/lib/forms/firm/employee-invite.form.mjs +1 -1
- package/esm2022/src/lib/forms/transaction/allocation-rule-transaction.form.mjs +4 -2
- package/esm2022/src/lib/forms/transaction/allocation-rule.form.mjs +13 -13
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +5 -6
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +3 -3
- package/esm2022/src/lib/services/xlsx/xlsx.service.mjs +13 -14
- package/fesm2022/taxtank-core.mjs +32 -30
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/forms/transaction/allocation-rule.form.d.ts +5 -4
- package/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.d.ts +1 -2
- package/src/lib/services/http/transaction/transaction.service.d.ts +1 -1
- package/src/lib/services/xlsx/xlsx.service.d.ts +1 -1
package/package.json
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
import { AbstractForm } from '../abstract.form';
|
2
2
|
import { AllocationRule } from '../../models';
|
3
|
-
import {
|
3
|
+
import { FormArray } from '@angular/forms';
|
4
4
|
import { AllocationRuleTransactionForm } from './allocation-rule-transaction.form';
|
5
5
|
import { ChartAccountsCategoryEnum } from '../../db/Enums';
|
6
6
|
import { IEventListener } from '../../interfaces';
|
7
|
+
import { AllocationRuleCollection } from '../../collections';
|
7
8
|
/**
|
8
9
|
* @TODO move aux methods like isSplittable/isTaxFieldHidden/etc (used in view with ngIf) to properties to improve perf
|
9
10
|
*/
|
10
11
|
export declare class AllocationRuleForm extends AbstractForm<AllocationRule> implements IEventListener {
|
11
12
|
private isGST;
|
12
13
|
chartAccountsCategories: ChartAccountsCategoryEnum[];
|
13
|
-
constructor(rule: AllocationRule, isGST: boolean);
|
14
|
-
get conditionsArray():
|
15
|
-
get childTransactionsArray():
|
14
|
+
constructor(rule: AllocationRule, rules: AllocationRuleCollection, isGST: boolean);
|
15
|
+
get conditionsArray(): FormArray;
|
16
|
+
get childTransactionsArray(): FormArray;
|
16
17
|
get transactionFormGroup(): AllocationRuleTransactionForm;
|
17
18
|
addConditionForm(): void;
|
18
19
|
isTaxFieldHidden(): boolean;
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { DepreciationCollection, TransactionCollection } from '../../../../../collections';
|
1
|
+
import { DepreciationCollection, SoleBusinessLossCollection, TransactionCollection } from '../../../../../collections';
|
2
2
|
import { SoleBusinessLoss } from '../../../../sole';
|
3
|
-
import { SoleBusinessLossCollection } from '../../../../../collections';
|
4
3
|
import { TaxSummary } from '../../../../tax-summary/tax-summary';
|
5
4
|
/**
|
6
5
|
* Sole business information related to expense transactions (losses)
|
@@ -22,7 +22,7 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
|
|
22
22
|
* Listen events from Event Dispatcher services
|
23
23
|
*/
|
24
24
|
listenEvents(): void;
|
25
|
-
|
25
|
+
get(path?: string): Observable<Transaction[]>;
|
26
26
|
getCurrentYear(): Observable<Transaction[]>;
|
27
27
|
/**
|
28
28
|
* Add single new transaction
|