taxtank-core 0.28.8-1 → 0.28.8-2

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
  }
@@ -18,7 +18,6 @@ export declare class LoanForm extends AbstractForm<Loan> {
18
18
  * term validation depends on selected repaymentFrequency
19
19
  */
20
20
  listenRepaymentFrequencyChanges(): void;
21
- d: any;
22
21
  /**
23
22
  * For vehicle loans term has a maximum value depended of repayment frequency
24
23
  */
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Enum with maximum number of payments, depending on the frequency.
3
- * Used only for vehicle loans
2
+ * Enum with maximum number of payments, depending on the frequency
4
3
  */
5
4
  export declare enum LoanMaxNumberOfPaymentsEnum {
6
5
  WEEKLY = 260,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.8-1",
3
+ "version": "0.28.8-2",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",