taxtank-core 0.10.0 → 0.10.3
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 +2 -3
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/models/endpoint/endpoints.const.js +2 -2
- package/esm2015/lib/services/http/depreciation/depreciation.service.js +2 -2
- package/esm2015/lib/services/kompassify/kompassify.service.js +1 -2
- package/fesm2015/taxtank-core.js +2 -3
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/services/kompassify/kompassify.service.d.ts +0 -1
- package/package.json +1 -1
|
@@ -845,7 +845,7 @@
|
|
|
845
845
|
CLIENT_MOVEMENTS_GET: new Endpoint('GET', '\\/client-movements'),
|
|
846
846
|
CLIENT_MOVEMENTS_POST: new Endpoint('POST', '\\/client-movements'),
|
|
847
847
|
COUNTRIES_GET: new Endpoint('GET', '\\/countries'),
|
|
848
|
-
|
|
848
|
+
DEPRECIATIONS_OPENING_GET: new Endpoint('GET', '\\/depreciations\\/\\opening-balance\.\*'),
|
|
849
849
|
DEPRECIATIONS_GET: new Endpoint('GET', '\\/depreciations'),
|
|
850
850
|
DEPRECIATIONS_POST: new Endpoint('POST', '\\/depreciations'),
|
|
851
851
|
DEPRECIATIONS_PUT: new Endpoint('PUT', '\\/depreciations\\/\\d+'),
|
|
@@ -9816,7 +9816,7 @@
|
|
|
9816
9816
|
}));
|
|
9817
9817
|
};
|
|
9818
9818
|
DepreciationService.prototype.getOpenBalance = function (depreciation) {
|
|
9819
|
-
return this.http.post(this.environment.apiV2 + "/" + this.url + "/
|
|
9819
|
+
return this.http.post(this.environment.apiV2 + "/" + this.url + "/opening-balance?financialYear=" + new FinancialYear().year, depreciation)
|
|
9820
9820
|
.pipe(operators.map(function (response) {
|
|
9821
9821
|
return response || 0;
|
|
9822
9822
|
}));
|
|
@@ -10583,7 +10583,6 @@
|
|
|
10583
10583
|
|
|
10584
10584
|
/**
|
|
10585
10585
|
* Service listen and handle kompassify events
|
|
10586
|
-
* @TODO break to different services when we got new kompassify functionality (check lists, progress, etc.)
|
|
10587
10586
|
*/
|
|
10588
10587
|
var KompassifyService = /** @class */ (function () {
|
|
10589
10588
|
function KompassifyService(
|