taxtank-core 0.33.24 → 0.33.25

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.24",
3
+ "version": "0.33.25",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -17,7 +17,6 @@ export declare class TransactionCollection extends TransactionBaseCollection<Tra
17
17
  */
18
18
  constructor(transactions?: Transaction[], depreciations?: Depreciation[]);
19
19
  getSoleTransactions(): this;
20
- get amount(): number;
21
20
  getFindAndMatch(allocations: TransactionAllocationCollection): this;
22
21
  getUnallocated(allocations: TransactionAllocationCollection): TransactionCollection;
23
22
  getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
@@ -25,9 +24,10 @@ export declare class TransactionCollection extends TransactionBaseCollection<Tra
25
24
  * get date of the last transaction
26
25
  */
27
26
  getLastTransactionDate(): Date;
27
+ get amount(): number;
28
28
  get claimAmount(): number;
29
- get grossClaimAmount(): number;
30
29
  get grossAmount(): number;
30
+ get grossClaimAmount(): number;
31
31
  getByChartAccountsCategories(categories: ChartAccountsCategoryEnum[]): TransactionCollection;
32
32
  /**
33
33
  * Get transactions by month
@@ -81,6 +81,8 @@ export declare class Transaction extends TransactionBase implements Expense {
81
81
  * Total transaction amount including taxes and other additional amounts
82
82
  */
83
83
  get grossAmount(): number;
84
+ get grossAmountWithoutGst(): number;
85
+ get grossClaimAmountWithoutGst(): number;
84
86
  /**
85
87
  * @TODO vik confusing logic demanded by Nicole, we need a better ux to fix it
86
88
  * netAmount matches received payment (bankTransaction amount), includes gst and salary included adjustments