|
@@ -115,7 +115,6 @@ export class PPER implements InstrumentComponent {
|
|
|
pago_seguro_vivienda: any;
|
|
pago_seguro_vivienda: any;
|
|
|
total_cuotas_mensuales: any;
|
|
total_cuotas_mensuales: any;
|
|
|
cuota_sin_seguros: any;
|
|
cuota_sin_seguros: any;
|
|
|
- proyecciones_array: any;
|
|
|
|
|
|
|
|
|
|
constructor(
|
|
constructor(
|
|
|
private formBuilder: FormBuilder,
|
|
private formBuilder: FormBuilder,
|
|
@@ -129,14 +128,6 @@ export class PPER implements InstrumentComponent {
|
|
|
this.instrument_exists = this.instrument_work == undefined;
|
|
this.instrument_exists = this.instrument_work == undefined;
|
|
|
this.general = this.formDataService.getGeneralInfo();
|
|
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 (
|
|
if (
|
|
|
this.instrument_work != undefined &&
|
|
this.instrument_work != undefined &&
|
|
|
this.instrument_work.proyecciones != ""
|
|
this.instrument_work.proyecciones != ""
|