taxtank-core 0.32.35 → 0.32.36
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/transaction/transaction.collection.mjs +4 -1
- package/esm2022/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +6 -0
- package/esm2022/lib/db/Enums/chart-accounts/index.mjs +2 -1
- package/esm2022/lib/models/transaction/transaction.mjs +9 -2
- package/fesm2022/taxtank-core.mjs +17 -1
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/collections/transaction/transaction.collection.d.ts +1 -0
- package/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +4 -0
- package/lib/db/Enums/chart-accounts/index.d.ts +1 -0
- package/lib/models/transaction/transaction.d.ts +1 -0
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export declare class TransactionCollection extends ExportableCollection<Transact
|
|
|
18
18
|
constructor(transactions?: Transaction[], depreciations?: Depreciation[]);
|
|
19
19
|
getSoleTransactions(): this;
|
|
20
20
|
get amount(): number;
|
|
21
|
+
getFindAndMatch(allocations: TransactionAllocationCollection): this;
|
|
21
22
|
getUnallocated(allocations: TransactionAllocationCollection): TransactionCollection;
|
|
22
23
|
getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
23
24
|
/**
|
|
@@ -5,6 +5,7 @@ export * from './chart-accounts-heading-tax-deductible.enum';
|
|
|
5
5
|
export * from './chart-accounts-heading-taxable.enum';
|
|
6
6
|
export * from './chart-accounts-heading-vehicle-list.enum';
|
|
7
7
|
export * from './chart-accounts-list.enum';
|
|
8
|
+
export * from './chart-accounts-unallocatable-list.enum';
|
|
8
9
|
export * from './chart-accounts-meta-field-list.enum';
|
|
9
10
|
export * from './chart-accounts-meta-field-type.enum';
|
|
10
11
|
export * from './chart-accounts-salary-adjustments-list.enum';
|
|
@@ -71,6 +71,7 @@ export declare class Transaction extends TransactionBase implements Expense {
|
|
|
71
71
|
*/
|
|
72
72
|
getMetaFieldValue(field: ChartAccountsMetaFieldListEnum): number;
|
|
73
73
|
isCash(): boolean;
|
|
74
|
+
canFindAndMatch(allocations: TransactionAllocationCollection): boolean;
|
|
74
75
|
/**
|
|
75
76
|
* Create Depreciation instance based on Transaction
|
|
76
77
|
*/
|