taxtank-core 2.0.71 → 2.0.72

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.
@@ -11575,12 +11575,7 @@ class FinancialGoal extends AbstractModel {
11575
11575
  * How much user saved so far.
11576
11576
  */
11577
11577
  get progress() {
11578
- if (this.isPropertyType()) {
11579
- return 0;
11580
- }
11581
- return this.isCompleted()
11582
- ? Math.abs(this.finalValue - this.initialValue)
11583
- : Math.abs(this.bankAccount.currentBalance - this.initialValue);
11578
+ return round(this.currentValue - this.initialValue, 2);
11584
11579
  }
11585
11580
  /**
11586
11581
  * How much is left to reach the goal from the current balance.