iptdevs-design-system 3.1.902 → 3.1.904
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/cod-form/cod-form.component.mjs +1 -13
- package/esm2020/lib/core/models/transfer/transfer.model.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +5 -12
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -12
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/transfer/transfer.model.d.ts +69 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3219,6 +3219,11 @@ class CommercialService extends IPTGeneralService {
|
|
|
3219
3219
|
this.generateRequestParams(params);
|
|
3220
3220
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
3221
3221
|
}
|
|
3222
|
+
obtainAllReferralsByUser(params) {
|
|
3223
|
+
let serviceUrl = this.SERVICE_URL + 'obtain/all/referrals/by/user/code';
|
|
3224
|
+
this.generateRequestParams(params);
|
|
3225
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
3226
|
+
}
|
|
3222
3227
|
}
|
|
3223
3228
|
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 });
|
|
3224
3229
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|
|
@@ -5458,19 +5463,7 @@ class CodFormComponent {
|
|
|
5458
5463
|
}
|
|
5459
5464
|
}
|
|
5460
5465
|
getFormAction(action) {
|
|
5461
|
-
console.log(this.isRenovation);
|
|
5462
|
-
console.log(this.financingData);
|
|
5463
|
-
console.log(this.localStorageCOD.getCodFormData(4, 'payment_method'));
|
|
5464
|
-
console.log(this.localStorageCOD.getCodFormData(4, 'payment_method') === '1');
|
|
5465
5466
|
if (this.isRenovation == true) {
|
|
5466
|
-
if (this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
|
|
5467
|
-
Swal.fire({
|
|
5468
|
-
title: 'Querido asesor',
|
|
5469
|
-
text: 'Debe hacer el cálculo de las cuotas en el paso 4',
|
|
5470
|
-
icon: 'error'
|
|
5471
|
-
});
|
|
5472
|
-
return;
|
|
5473
|
-
}
|
|
5474
5467
|
this.financingData = [];
|
|
5475
5468
|
}
|
|
5476
5469
|
else {
|