Prechádzať zdrojové kódy

Merge branch 'features-o' of onunez/frontend-inversiones into development

Oscar José Nuñez Chávez 5 rokov pred
rodič
commit
2391dad47c

+ 0 - 9
src/app/components/instruments/pper/pper.component.ts

@@ -115,7 +115,6 @@ export class PPER implements InstrumentComponent {
   pago_seguro_vivienda: any;
   total_cuotas_mensuales: any;
   cuota_sin_seguros: any;
-  proyecciones_array: any;
 
   constructor(
     private formBuilder: FormBuilder,
@@ -129,14 +128,6 @@ export class PPER implements InstrumentComponent {
     this.instrument_exists = this.instrument_work == undefined;
     this.general = this.formDataService.getGeneralInfo();
 
-    this.proyecciones_array = Object.values(
-      this.instrument_work.proyecciones
-    ).map(a => Object.values(a).every(x => x === null || x === ""));
-
-    this.proyecciones_array = this.proyecciones_array.toString() === true;
-
-    console.log(this.proyecciones_array);
-
     if (
       this.instrument_work != undefined &&
       this.instrument_work.proyecciones != ""