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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.10",
3
+ "version": "0.28.11",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",