|
@@ -91,6 +91,7 @@ export class DAP implements InstrumentComponent {
|
|
|
dapObject: {};
|
|
dapObject: {};
|
|
|
renta: any;
|
|
renta: any;
|
|
|
hasProjections: boolean;
|
|
hasProjections: boolean;
|
|
|
|
|
+ numero_certificado: any;
|
|
|
|
|
|
|
|
constructor(
|
|
constructor(
|
|
|
private formBuilder: FormBuilder,
|
|
private formBuilder: FormBuilder,
|
|
@@ -142,10 +143,10 @@ export class DAP implements InstrumentComponent {
|
|
|
[Validators.required]
|
|
[Validators.required]
|
|
|
],
|
|
],
|
|
|
|
|
|
|
|
- /*formato_ingreso: [
|
|
|
|
|
- this.instrument_exists ? "" : this.instrument_work.formato_ingreso,
|
|
|
|
|
|
|
+ numero_certificado: [
|
|
|
|
|
+ this.instrument_exists ? "" : this.instrument_work.numero_certificado,
|
|
|
[Validators.required]
|
|
[Validators.required]
|
|
|
- ],*/
|
|
|
|
|
|
|
+ ],
|
|
|
|
|
|
|
|
fecha_vencimiento: [
|
|
fecha_vencimiento: [
|
|
|
this.instrument_exists
|
|
this.instrument_exists
|
|
@@ -235,7 +236,7 @@ export class DAP implements InstrumentComponent {
|
|
|
this.fecha_inicio_vigencia = ans["result"]["fecha_inicio_vigencia"];
|
|
this.fecha_inicio_vigencia = ans["result"]["fecha_inicio_vigencia"];
|
|
|
this.renta = ans["result"]["renta"];
|
|
this.renta = ans["result"]["renta"];
|
|
|
this.proyecciones = ans["result"]["proyecciones"];
|
|
this.proyecciones = ans["result"]["proyecciones"];
|
|
|
-
|
|
|
|
|
|
|
+ this.numero_certificado = ans["result"]["numero_certificado"];
|
|
|
this.dataSource.data = this.proyecciones;
|
|
this.dataSource.data = this.proyecciones;
|
|
|
this.dataSource.paginator = this.paginator;
|
|
this.dataSource.paginator = this.paginator;
|
|
|
this.dataSource.sort = this.sort;
|
|
this.dataSource.sort = this.sort;
|
|
@@ -252,6 +253,7 @@ export class DAP implements InstrumentComponent {
|
|
|
rendimiento_neto: this.rendimiento_neto,
|
|
rendimiento_neto: this.rendimiento_neto,
|
|
|
fecha_inicio_vigencia: this.fecha_inicio_vigencia,
|
|
fecha_inicio_vigencia: this.fecha_inicio_vigencia,
|
|
|
renta: this.renta,
|
|
renta: this.renta,
|
|
|
|
|
+ numero_certificado: this.numero_certificado,
|
|
|
proyecciones: this.proyecciones,
|
|
proyecciones: this.proyecciones,
|
|
|
|
|
|
|
|
fecha_operacion: this.investmentProposalForm.value.fecha_operacion
|
|
fecha_operacion: this.investmentProposalForm.value.fecha_operacion
|