iptdevs-design-system 3.1.897 → 3.1.899
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 +20 -8
- package/esm2020/lib/core/models/transfer/transfer.model.mjs +2 -0
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +16 -1
- package/fesm2015/iptdevs-design-system.mjs +34 -7
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +34 -7
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/transfer/transfer.model.d.ts +20 -0
- package/lib/core/services/budget-service/budget-service.d.ts +4 -0
- package/package.json +1 -1
|
@@ -5458,13 +5458,25 @@ class CodFormComponent {
|
|
|
5458
5458
|
}
|
|
5459
5459
|
}
|
|
5460
5460
|
getFormAction(action) {
|
|
5461
|
-
if (!this.
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5461
|
+
if (!this.isRenovation) {
|
|
5462
|
+
if (!this.financingData && this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
|
|
5463
|
+
Swal.fire({
|
|
5464
|
+
title: 'Querido asesor',
|
|
5465
|
+
text: 'Debe hacer el cálculo de las cuotas en el paso 4',
|
|
5466
|
+
icon: 'error'
|
|
5467
|
+
});
|
|
5468
|
+
return;
|
|
5469
|
+
}
|
|
5470
|
+
}
|
|
5471
|
+
else {
|
|
5472
|
+
if (this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
|
|
5473
|
+
Swal.fire({
|
|
5474
|
+
title: 'Querido asesor',
|
|
5475
|
+
text: 'Debe hacer el cálculo de las cuotas en el paso 4',
|
|
5476
|
+
icon: 'error'
|
|
5477
|
+
});
|
|
5478
|
+
return;
|
|
5479
|
+
}
|
|
5468
5480
|
}
|
|
5469
5481
|
const totalData = [];
|
|
5470
5482
|
this.subscription = this.codFormControls.getControlValues().subscribe((controls) => {
|
|
@@ -6581,6 +6593,21 @@ class BudgetService extends IPTGeneralService {
|
|
|
6581
6593
|
this.generateRequestParams(params);
|
|
6582
6594
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
6583
6595
|
}
|
|
6596
|
+
createTransferValidate(params) {
|
|
6597
|
+
const serviceUrl = this.SERVICE_URL + 'create/transfer/validate';
|
|
6598
|
+
this.generateRequestParams(params);
|
|
6599
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
6600
|
+
}
|
|
6601
|
+
searchTransferByReference(params) {
|
|
6602
|
+
const serviceUrl = this.SERVICE_URL + 'search/transfer/by/reference';
|
|
6603
|
+
this.generateRequestParams(params);
|
|
6604
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
6605
|
+
}
|
|
6606
|
+
updateTransferData(params) {
|
|
6607
|
+
const serviceUrl = this.SERVICE_URL + 'update/transfer/data';
|
|
6608
|
+
this.generateRequestParams(params);
|
|
6609
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
6610
|
+
}
|
|
6584
6611
|
}
|
|
6585
6612
|
BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: BudgetService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6586
6613
|
BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: BudgetService, providedIn: 'root' });
|