|
|
@@ -184,8 +184,7 @@ export class DAP implements InstrumentComponent {
|
|
|
|
|
|
getCalculations(form: any, saveForm: boolean) {
|
|
|
this.submitted = true;
|
|
|
- console.log("formulario");
|
|
|
- console.log(form);
|
|
|
+
|
|
|
if (!form.valid) {
|
|
|
return false;
|
|
|
}
|
|
|
@@ -248,7 +247,8 @@ export class DAP implements InstrumentComponent {
|
|
|
proyecciones: this.proyecciones,
|
|
|
|
|
|
fecha_operacion: this.investmentProposalForm.value.fecha_operacion
|
|
|
- .singleDate.formatted
|
|
|
+ .singleDate.formatted,
|
|
|
+ fecha_vencimiento: this.fecha_vencimiento
|
|
|
};
|
|
|
this.formDataService.setWork(this.dapObject);
|
|
|
Swal.close();
|