Преглед изворни кода

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

Oscar José Nuñez Chávez пре 5 година
родитељ
комит
b0c71381ad

+ 1 - 1
src/app/components/instruments/bonos/bonos.component.ts

@@ -537,7 +537,7 @@ export class BONO implements InstrumentComponent {
           this.proyecciones = ans["result"]["proyecciones"];
           if (this.proyecciones != undefined && this.proyecciones.length > 0) {
             this.hasProjections = true;
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }
 

+ 2 - 2
src/app/components/instruments/certificados/certificados.component.ts

@@ -537,9 +537,9 @@ export class CINV implements InstrumentComponent {
 
           // Proyecciones
           this.proyecciones = ans["result"]["proyecciones"];
-          if (this.proyecciones != undefined && this.proyecciones.length > 0) {            
+          if (this.proyecciones != undefined && this.proyecciones.length > 0) {
             this.hasProjections = true;
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }
 

+ 2 - 2
src/app/components/instruments/cete/cete.component.ts

@@ -294,9 +294,9 @@ export class CETE implements InstrumentComponent {
 
           this.dataSource.data = this.proyecciones;
           this.proyecciones = ans["result"]["proyecciones"];
-          if (this.proyecciones != undefined && this.proyecciones.length > 0) {            
+          if (this.proyecciones != undefined && this.proyecciones.length > 0) {
             this.hasProjections = true;
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }
           this.dataSource.paginator = this.paginator;

+ 2 - 2
src/app/components/instruments/dap/dap.component.ts

@@ -227,9 +227,9 @@ export class DAP implements InstrumentComponent {
           this.proyecciones = ans["result"]["proyecciones"];
           this.numero_certificado = ans["result"]["numero_certificado"];
           this.fecha_vencimiento = ans["result"]["fecha_vencimiento"];
-          if (this.proyecciones != undefined && this.proyecciones.length > 0) {            
+          if (this.proyecciones != undefined && this.proyecciones.length > 0) {
             this.hasProjections = true;
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }
 

+ 3 - 3
src/app/components/instruments/eurobonos/eurobonos.component.ts

@@ -146,7 +146,7 @@ export class EURB implements InstrumentComponent {
       this.instrument_work != undefined &&
       this.instrument_work.proyecciones != ""
     ) {
-      this.hasProjections = true;      
+      this.hasProjections = true;
       this.consolidado_proyeccion = this.instrument_work.proyecciones.pop();
       this.operation_results_work = this.instrument_work["resultado_operacion"];
 
@@ -536,9 +536,9 @@ export class EURB implements InstrumentComponent {
 
           // Proyecciones
           this.proyecciones = ans["result"]["proyecciones"];
-          if (this.proyecciones != undefined && this.proyecciones.length > 0) {            
+          if (this.proyecciones != undefined && this.proyecciones.length > 0) {
             this.hasProjections = true;
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }
 

+ 2 - 1
src/app/components/instruments/fondos/fondos.component.ts

@@ -129,6 +129,7 @@ export class FINV implements InstrumentComponent {
       this.instrument_work.proyecciones != ""
     ) {
       this.hasProjections = true;
+
       this.consolidado_proyeccion = this.instrument_work.proyecciones.pop();
       this.operation_results_work = this.instrument_work["resultado_operacion"];
 
@@ -321,7 +322,7 @@ export class FINV implements InstrumentComponent {
           this.proyecciones = ans["result"]["proyecciones"];
           if (this.proyecciones != undefined && this.proyecciones.length > 0) {
             this.hasProjections = true;
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }
 

+ 1 - 1
src/app/components/instruments/pbur/pbur.component.ts

@@ -305,7 +305,7 @@ export class PBUR implements InstrumentComponent {
           this.proyecciones = ans["result"]["proyecciones"];
 
           if (this.proyecciones != undefined && this.proyecciones.length > 0) {
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }
 

+ 3 - 3
src/app/components/instruments/titulos/titulos.component.ts

@@ -188,7 +188,7 @@ export class TIT implements InstrumentComponent {
           Validators.pattern(/^[+]?([0-9]+(?:[\.][0-9]*)?|\.[0-9]+)$/)
         ]
       ],
-      
+
       costo_transferencia: [
         this.instrument_exists ? "" : this.instrument_work.costo_transferencia,
         [
@@ -604,9 +604,9 @@ export class TIT implements InstrumentComponent {
 
           // Proyecciones
           this.proyecciones = ans["result"]["proyecciones"];
-          if (this.proyecciones != undefined && this.proyecciones.length > 0) {            
+          if (this.proyecciones != undefined && this.proyecciones.length > 0) {
             this.hasProjections = true;
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }
 

+ 1 - 1
src/app/components/instruments/vcn/vcn.component.ts

@@ -314,7 +314,7 @@ export class VCN implements InstrumentComponent {
           this.proyecciones = ans["result"]["proyecciones"];
 
           if (this.proyecciones != undefined && this.proyecciones.length > 0) {
-            this.consolidado_proyeccion = this.proyecciones.pop();
+            //this.consolidado_proyeccion = this.proyecciones.pop();
             this.proyecciones;
           }