taxtank-core 0.28.10 → 0.28.11
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 +49 -26
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/transaction/transaction.collection.js +26 -1
- package/esm2015/lib/models/depreciation/depreciation.js +2 -2
- package/esm2015/lib/services/http/sole/sole-invoice/sole-invoice.service.js +1 -1
- package/fesm2015/taxtank-core.js +42 -20
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/transaction/transaction.collection.d.ts +7 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { ExportCell } from '../../models/export/export-cell';
|
|
|
7
7
|
import { Collection } from '../collection';
|
|
8
8
|
import { TransactionMetadata } from '../../models/transaction/transaction-metadata';
|
|
9
9
|
import { VehicleClaim } from '../../models';
|
|
10
|
+
import { ChartData } from '../../models/chart/chart-data';
|
|
10
11
|
/**
|
|
11
12
|
* Collection of transactions
|
|
12
13
|
*/
|
|
@@ -91,4 +92,10 @@ export declare class TransactionCollection extends ExportableCollection<Transact
|
|
|
91
92
|
* Get list of vehicle transactions except KMS transactions
|
|
92
93
|
*/
|
|
93
94
|
getLogbookTransactions(): this;
|
|
95
|
+
/**
|
|
96
|
+
* Build chart data with transactions cash position.
|
|
97
|
+
* Cash position = Income - Expenses (include depreciations)
|
|
98
|
+
* Chart data for each month from fin year start till current month
|
|
99
|
+
*/
|
|
100
|
+
getCashPositionChartData(): ChartData[];
|
|
94
101
|
}
|