taxtank-core 0.30.134 → 0.30.136

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.
@@ -32,6 +32,7 @@ export declare class CollectionDictionary<Collection extends BaseCollection<Abst
32
32
  */
33
33
  get(key: string | number): Collection;
34
34
  /**
35
+ * @TODO bad name, it just gets items by keys, same as get method by multiple keys
35
36
  * Join several collections by ids, return collection of uniq models (skip duplicates)
36
37
  */
37
38
  merge(keys: number[] | string[]): Collection;
@@ -2,5 +2,6 @@ export declare enum SoleInvoiceStatusesEnum {
2
2
  CANCELED = 0,
3
3
  DRAFT = 1,
4
4
  PENDING = 2,
5
- PAID = 3
5
+ PAID = 3,
6
+ PAID_CASH = 4
6
7
  }
@@ -50,6 +50,7 @@ export declare class SoleInvoice extends SoleInvoiceBase {
50
50
  isCancelled(): boolean;
51
51
  isPending(): boolean;
52
52
  isPaid(): boolean;
53
+ isPaidCash(): boolean;
53
54
  isOverdue(): boolean;
54
55
  isUnpaid(): boolean;
55
56
  /**
@@ -21,6 +21,9 @@ export declare class TaxSummary {
21
21
  */
22
22
  get workNetCash(): number;
23
23
  get income(): number;
24
+ get expense(): number;
25
+ get netCash(): number;
26
+ get netTotal(): number;
24
27
  /**
25
28
  * Work Net Total = Income - expenses - interest
26
29
  * https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
@@ -83,6 +83,9 @@ export declare class Transaction extends TransactionBase implements Expense, IRe
83
83
  */
84
84
  isAllocated(allocations: TransactionAllocationCollection): boolean;
85
85
  getAllocatedAmount(allocations: TransactionAllocationCollection): number;
86
+ /**
87
+ * @TODO vik TT-3363
88
+ */
86
89
  getAllocatedClaimAmount(allocations: TransactionAllocationCollection): number;
87
90
  getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
88
91
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.30.134",
3
+ "version": "0.30.136",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",