iptdevs-design-system 3.1.576 → 3.1.577
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/esm2020/lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component.mjs +3 -2
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +7 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +7 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/services/commercial-service/comercial.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3139,6 +3139,11 @@ class CommercialService extends IPTGeneralService {
|
|
|
3139
3139
|
this.generateRequestParams(request);
|
|
3140
3140
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
3141
3141
|
}
|
|
3142
|
+
ObtainCodPricesCodSelfManaged(params) {
|
|
3143
|
+
let serviceUrl = this.SERVICE_URL + 'post/obtain/cod/self/managed/prices';
|
|
3144
|
+
this.generateRequestParams(params);
|
|
3145
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
3146
|
+
}
|
|
3142
3147
|
}
|
|
3143
3148
|
CommercialService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3144
3149
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|
|
@@ -7215,7 +7220,8 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
|
|
|
7215
7220
|
payment_method: parseInt(paymentMethod)
|
|
7216
7221
|
};
|
|
7217
7222
|
console.log("lineal_81", request);
|
|
7218
|
-
this.commercialService.
|
|
7223
|
+
this.commercialService.ObtainCodPricesCodSelfManaged(request).subscribe((response) => {
|
|
7224
|
+
console.log(response);
|
|
7219
7225
|
if (response.data != null) {
|
|
7220
7226
|
this.dataPrices = response.data;
|
|
7221
7227
|
this.feeResponse = false;
|