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.
@@ -5458,13 +5458,25 @@ class CodFormComponent {
5458
5458
  }
5459
5459
  }
5460
5460
  getFormAction(action) {
5461
- if (!this.financingData && this.localStorageCOD.getCodFormData(4, 'payment_method') === '1') {
5462
- Swal.fire({
5463
- title: 'Querido asesor',
5464
- text: 'Debe hacer el cálculo de las cuotas en el paso 4',
5465
- icon: 'error'
5466
- });
5467
- return;
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' });