|
@@ -156,10 +156,9 @@ export class TIT implements InstrumentComponent {
|
|
|
this.instrument_work.proyecciones != ""
|
|
this.instrument_work.proyecciones != ""
|
|
|
) {
|
|
) {
|
|
|
this.hasProjections = true;
|
|
this.hasProjections = true;
|
|
|
- this.consolidado_proyeccion = this.instrument_work.proyecciones.slice(
|
|
|
|
|
- 0,
|
|
|
|
|
- -1
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ this.consolidado_proyeccion = this.instrument_work.proyecciones[
|
|
|
|
|
+ this.instrument_work.proyecciones.length - 1
|
|
|
|
|
+ ];
|
|
|
this.operation_results_work = this.instrument_work["resultado_operacion"];
|
|
this.operation_results_work = this.instrument_work["resultado_operacion"];
|
|
|
|
|
|
|
|
if (this.instrument_work["instrumento"] != undefined) {
|
|
if (this.instrument_work["instrumento"] != undefined) {
|
|
@@ -167,12 +166,13 @@ export class TIT implements InstrumentComponent {
|
|
|
}
|
|
}
|
|
|
this.instrument_work_summary = this.instrument_work;
|
|
this.instrument_work_summary = this.instrument_work;
|
|
|
|
|
|
|
|
- this.dataSource2.data = this.instrument_work.proyecciones;
|
|
|
|
|
|
|
+ this.dataSource2.data = this.instrument_work.proyecciones.slice(0, -1);
|
|
|
this.dataSource2.paginator = this.paginator;
|
|
this.dataSource2.paginator = this.paginator;
|
|
|
this.dataSource2.sort = this.sort;
|
|
this.dataSource2.sort = this.sort;
|
|
|
} else {
|
|
} else {
|
|
|
this.hasProjections = false;
|
|
this.hasProjections = false;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
if (!this.instrument_exists) {
|
|
if (!this.instrument_exists) {
|
|
|
this.amortizaciones = this.instrument_work.amortizacion_porcentajes;
|
|
this.amortizaciones = this.instrument_work.amortizacion_porcentajes;
|
|
|
}
|
|
}
|