taxtank-core 0.32.72 → 0.32.74
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/Models/transaction/transaction-allocation.mjs +1 -1
- package/esm2022/lib/db/Models/transaction/transaction-base.mjs +4 -1
- package/esm2022/lib/forms/transaction/allocation-rule.form.mjs +4 -1
- package/esm2022/lib/forms/transaction/transaction.form.mjs +1 -3
- package/esm2022/lib/models/bank/allocation-group.mjs +4 -1
- package/esm2022/lib/models/bank/bank-transaction.mjs +2 -2
- package/esm2022/lib/models/transaction/allocation-rule-transaction.mjs +18 -17
- package/esm2022/lib/models/transaction/allocation-rule.mjs +5 -2
- package/esm2022/lib/models/transaction/transaction.mjs +10 -1
- package/fesm2022/taxtank-core.mjs +190 -169
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/db/Models/transaction/transaction-allocation.d.ts +1 -0
- package/lib/db/Models/transaction/transaction-base.d.ts +1 -0
- package/lib/forms/transaction/allocation-rule.form.d.ts +3 -0
- package/lib/models/bank/allocation-group.d.ts +1 -0
- package/lib/models/transaction/allocation-rule-transaction.d.ts +1 -1
- package/lib/models/transaction/transaction.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4,6 +4,9 @@ import { UntypedFormArray } 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
|
+
/**
|
|
8
|
+
* @TODO move aux methods like isSplittable/isTaxFieldHidden/etc (used in view with ngIf) to properties to improve perf
|
|
9
|
+
*/
|
|
7
10
|
export declare class AllocationRuleForm extends AbstractForm<AllocationRule> implements IEventListener {
|
|
8
11
|
private isGST;
|
|
9
12
|
chartAccountsCategories: ChartAccountsCategoryEnum[];
|
|
@@ -24,5 +24,5 @@ export declare class AllocationRuleTransaction extends AllocationRuleTransaction
|
|
|
24
24
|
/**
|
|
25
25
|
* Create Transaction instance based on passed bank transaction and rule transaction
|
|
26
26
|
*/
|
|
27
|
-
toTransaction(bankTransaction
|
|
27
|
+
toTransaction(bankTransaction?: BankTransaction): Transaction;
|
|
28
28
|
}
|
|
@@ -97,4 +97,5 @@ export declare class Transaction extends TransactionBase implements Expense {
|
|
|
97
97
|
* user's choice and transform amount, but there are exceptions like advance (negative or positive amount)
|
|
98
98
|
*/
|
|
99
99
|
ignoreSign(): boolean;
|
|
100
|
+
setParent(transaction: Transaction): void;
|
|
100
101
|
}
|