Browse Source

Avances del sprint 6

Oscar José Nuñez Chávez 5 years ago
parent
commit
0946adce01
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/app/components/instruments/bonos/bonos.component.ts

+ 5 - 0
src/app/components/instruments/bonos/bonos.component.ts

@@ -133,6 +133,7 @@ export class BONO implements InstrumentComponent {
     { codigo: 1, nombre: "Completa" },
     { codigo: 1, nombre: "Completa" },
     { codigo: 0, nombre: "Parcial" }
     { codigo: 0, nombre: "Parcial" }
   ];
   ];
+  tipoEjecucion: number;
 
 
   constructor(
   constructor(
     private formBuilder: FormBuilder,
     private formBuilder: FormBuilder,
@@ -703,4 +704,8 @@ export class BONO implements InstrumentComponent {
   goToNext(form: any) {
   goToNext(form: any) {
     this.getCalculations(form, true);
     this.getCalculations(form, true);
   }
   }
+
+  toggle_ejecucion(input: any) {
+    this.tipoEjecucion = +input;
+  }
 }
 }