taxtank-core 0.28.73 → 0.28.74
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.
- package/bundles/taxtank-core.umd.js +12 -0
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss.service.js +13 -1
- package/fesm2015/taxtank-core.js +11 -0
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts +7 -1
- package/package.json +1 -1
|
@@ -12769,6 +12769,18 @@
|
|
|
12769
12769
|
_this.isHydra = true;
|
|
12770
12770
|
return _this;
|
|
12771
12771
|
}
|
|
12772
|
+
SoleBusinessLossService.prototype.listenEvents = function () {
|
|
12773
|
+
this.listenBusinessCreated();
|
|
12774
|
+
};
|
|
12775
|
+
/**
|
|
12776
|
+
* Listen business created because we create prior year losses together with business
|
|
12777
|
+
*/
|
|
12778
|
+
SoleBusinessLossService.prototype.listenBusinessCreated = function () {
|
|
12779
|
+
var _this = this;
|
|
12780
|
+
this.eventDispatcherService.on(exports.AppEventTypeEnum.SOLE_BUSINESS_CREATED).subscribe(function () {
|
|
12781
|
+
_this.resetCache();
|
|
12782
|
+
});
|
|
12783
|
+
};
|
|
12772
12784
|
return SoleBusinessLossService;
|
|
12773
12785
|
}(RestService));
|
|
12774
12786
|
SoleBusinessLossService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SoleBusinessLossService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|