taxtank-core 0.28.32 → 0.28.33

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.
@@ -14,6 +14,7 @@ export declare abstract class AbstractForm<Model> extends FormGroup {
14
14
  model: Model;
15
15
  submitted: boolean;
16
16
  /**
17
+ * @TODO Alex bad name, it's also about unchanged
17
18
  * Flag display if some form values changed
18
19
  */
19
20
  unsaved: boolean;
@@ -2,7 +2,7 @@ import { AbstractForm } from '../abstract.form';
2
2
  import { SoleBusinessLoss } from '../../models';
3
3
  export declare class SoleBusinessLossForm extends AbstractForm<SoleBusinessLoss> {
4
4
  private loss;
5
- constructor(loss: SoleBusinessLoss, balance: number);
5
+ constructor(loss: SoleBusinessLoss, profit: number);
6
6
  /**
7
7
  * radio buttons can't work with object
8
8
  * https://github.com/angular/components/issues/10495
@@ -15,11 +15,6 @@ export declare class SoleBusinessLossReport extends AbstractModel {
15
15
  * Net income reduced by the opening balance amount, that will be carried over to the next year, if it is positive
16
16
  */
17
17
  closeBalance: number;
18
- /**
19
- * Net income reduced by the opening balance amount
20
- */
21
- taxableIncome: number;
22
18
  netIncome: number;
23
19
  constructor(loss: SoleBusinessLoss, transactions: TransactionCollection, depreciations: DepreciationCollection);
24
- calculateTaxableIncome(): number;
25
20
  }
@@ -4,6 +4,5 @@ import { SoleBusinessLossOffsetRule } from './sole-business-loss-offset-rule';
4
4
  export declare class SoleBusinessLoss extends SoleBusinessLossBase {
5
5
  business: SoleBusiness;
6
6
  offsetRule: SoleBusinessLossOffsetRule;
7
- openBalance: number;
8
7
  get hasOffset(): boolean;
9
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.32",
3
+ "version": "0.28.33",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",