Explorar el Código

fix para calculos al cambiar instrumentos

Oscar José Nuñez Chávez hace 5 años
padre
commit
aa43d72f61
Se han modificado 1 ficheros con 0 adiciones y 16 borrados
  1. 0 16
      src/app/components/instruments/dap/dap.component.ts

+ 0 - 16
src/app/components/instruments/dap/dap.component.ts

@@ -149,22 +149,6 @@ export class DAP implements InstrumentComponent {
         []
       ],
 
-      fecha_vencimiento: [
-        this.instrument_exists
-          ? ""
-          : {
-              isRange: false,
-              singleDate: {
-                jsDate: parse(
-                  this.instrument_work.fecha_vencimiento,
-                  "dd/MM/yyyy",
-                  new Date()
-                ),
-                formatted: this.instrument_work.fecha_vencimiento
-              }
-            },
-        Validators.required
-      ],
       fecha_operacion: [
         this.instrument_exists
           ? ""