taxtank-core 0.28.91 → 0.28.93

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.
@@ -5809,7 +5809,9 @@
5809
5809
  var PropertyForecast = /** @class */ (function (_super) {
5810
5810
  __extends(PropertyForecast, _super);
5811
5811
  function PropertyForecast() {
5812
- return _super !== null && _super.apply(this, arguments) || this;
5812
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
5813
+ _this.financialYear = new FinancialYear(new Date()).year;
5814
+ return _this;
5813
5815
  }
5814
5816
  Object.defineProperty(PropertyForecast.prototype, "cashPosition", {
5815
5817
  /**
@@ -17730,8 +17732,11 @@
17730
17732
  .subscribe(function (subscription) {
17731
17733
  _this._serviceSubscription = subscription;
17732
17734
  _this.serviceSubscriptionSubject.next(_this._serviceSubscription);
17733
- _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.SERVICE_SUBSCRIPTION_UPDATED, null));
17734
- _this.toastService.success('Subscription successfully updated');
17735
+ // @TODO vik remove timeout when user api moved to api platform
17736
+ setTimeout(function () {
17737
+ _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.SERVICE_SUBSCRIPTION_UPDATED, null));
17738
+ _this.toastService.success('Subscription successfully updated');
17739
+ }, 2000);
17735
17740
  });
17736
17741
  };
17737
17742
  return SubscriptionService;