taxtank-core 0.28.111 → 0.28.112
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/bundles/taxtank-core.umd.js +6 -10
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/transaction/transaction.collection.js +6 -1
- package/esm2015/lib/models/transaction/transaction.js +2 -2
- package/esm2015/lib/services/transaction/transaction-calculation.service.js +1 -10
- package/fesm2015/taxtank-core.js +6 -10
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/transaction/transaction.collection.d.ts +1 -0
- package/lib/services/transaction/transaction-calculation.service.d.ts +0 -5
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export declare class TransactionCollection extends ExportableCollection<Transact
|
|
|
19
19
|
constructor(transactions?: Transaction[], depreciations?: Depreciation[]);
|
|
20
20
|
getSoleTransactions(): this;
|
|
21
21
|
get amount(): number;
|
|
22
|
+
getUnallocated(allocations: TransactionAllocationCollection): TransactionCollection;
|
|
22
23
|
getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
|
|
23
24
|
/**
|
|
24
25
|
* get date of the last transaction
|
|
@@ -23,11 +23,6 @@ export declare class TransactionCalculationService {
|
|
|
23
23
|
* @TODO Alex: consider to move to collection
|
|
24
24
|
*/
|
|
25
25
|
getAllocatedTransactions(transactions: TransactionCollection, allocations: TransactionAllocationCollection): TransactionCollection;
|
|
26
|
-
/**
|
|
27
|
-
* Get collection of unallocated transactions
|
|
28
|
-
* @TODO Alex: consider to move to collection
|
|
29
|
-
*/
|
|
30
|
-
getUnallocatedTransactions(transactions: TransactionCollection, allocations: TransactionAllocationCollection): TransactionCollection;
|
|
31
26
|
getUnallocatedInvoices(invoices: SoleInvoiceCollection, allocations: TransactionAllocationCollection): SoleInvoiceCollection;
|
|
32
27
|
/**
|
|
33
28
|
* Get invoices allocated amounts grouped bu invoice id
|