瀏覽代碼

Merge branch 'development' of https://git.grupomerelec.com/onunez/frontend-inversiones into feature-formato

ahernandez 5 年之前
父節點
當前提交
06c0a7cc5b

+ 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 != ""

+ 1 - 1
src/app/components/investment-proposals/investment-proposals.component.ts

@@ -475,7 +475,7 @@ export class InvestmentProposalsComponent implements OnInit {
 
             for (let i = 0; i < this.userList.length; i++) {
               let html_input: HTMLInputElement = document.getElementById(
-                this.userList[i].name
+                "next-" + this.userList[i].name
               ) as HTMLInputElement;
               if (html_input != null) {
                 let html_value: string = html_input.value;