taxtank-core 0.33.21 → 0.33.23
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 +4 -5
- package/esm2022/src/lib/models/report/income-expense/transaction-report-item.mjs +8 -8
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +1 -4
- package/fesm2022/taxtank-core.mjs +10 -14
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/report/income-expense/transaction-report-item.collection.d.ts +1 -1
- package/src/lib/models/report/income-expense/transaction-report-item.d.ts +3 -3
- package/src/lib/services/http/transaction/transaction.service.d.ts +0 -1
package/package.json
CHANGED
@@ -2,7 +2,7 @@ import { Collection } from '../../collection';
|
|
2
2
|
import { TransactionReportItem } from '../../../models/report';
|
3
3
|
import { TransactionCollection } from '../../transaction';
|
4
4
|
export declare class TransactionReportItemCollection extends Collection<TransactionReportItem> {
|
5
|
-
|
5
|
+
static fromTransactions(transactions: TransactionCollection, priorTransactions: TransactionCollection): TransactionReportItemCollection;
|
6
6
|
get months(): number[];
|
7
7
|
sumBy(path: string, abs?: boolean): number;
|
8
8
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { TransactionCollection } from '../../../collections';
|
2
|
-
import {
|
2
|
+
import { ChartAccountsCategoryEnum } from '../../../db/Enums';
|
3
3
|
export declare class TransactionReportItem {
|
4
|
-
|
5
|
-
|
4
|
+
category: ChartAccountsCategoryEnum;
|
5
|
+
name: string;
|
6
6
|
months: number[];
|
7
7
|
amount: number;
|
8
8
|
claimAmount: number;
|
@@ -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
|
-
getPriorYear(): Observable<Transaction[]>;
|
30
29
|
getByYear(year?: FinancialYear): Observable<Transaction[]>;
|
31
30
|
/**
|
32
31
|
* Add single new transaction
|