Przeglądaj źródła

Merge branch 'development' of https://git.grupomerelec.com/onunez/frontend-inversiones into features-o

Oscar José Nuñez Chávez 5 lat temu
rodzic
commit
b5d043b2ab

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

@@ -244,8 +244,7 @@ export class CETE implements InstrumentComponent {
 
   getCalculations(form: any, saveForm: boolean) {
     this.submitted = true;
-    console.log("formulario");
-    console.log(form);
+
     if (!form.valid) {
       return false;
     }

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

@@ -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();

+ 2 - 3
src/app/components/instruments/pbur/pbur.component.ts

@@ -248,8 +248,6 @@ export class PBUR implements InstrumentComponent {
 
   getCalculations(form: any, saveForm: boolean) {
     this.submitted = true;
-    console.log("formulario");
-    console.log(form);
 
     if (!form.valid) {
       return false;
@@ -347,7 +345,8 @@ export class PBUR implements InstrumentComponent {
               this.investmentProposalForm.value.fecha_ultima_cupon != undefined
                 ? this.investmentProposalForm.value.fecha_ultima_cupon
                     .singleDate.formatted
-                : ""
+                : "",
+            fecha_vencimiento: this.fecha_vencimiento
           };
           this.formDataService.setWork(this.pburObject);
           Swal.close();

+ 0 - 1
src/app/components/investment-proposals/payment-info/payment-info.component.ts

@@ -165,7 +165,6 @@ export class PaymentInfoComponent implements OnInit {
 
   sendPaymentInfo(form: any) {
     this.submitted = true;
-    console.log(form);
     if (!form.valid) {
       return false;
     }

+ 0 - 1
src/app/components/investment-proposals/payment-requirement/payment-requirement.component.ts

@@ -138,7 +138,6 @@ export class PaymentRequirementComponent implements OnInit {
 
   onSubmit(form: any) {
     this.submitted = true;
-    console.log(form);
     if (!form.valid) {
       return false;
     }

+ 0 - 1
src/app/components/investment-proposals/review/review.component.ts

@@ -188,7 +188,6 @@ export class InvestmentProposalReviewComponent implements OnInit {
           if (this.general != undefined) {
             this.subject = this.general.asunto;
             this.investmentName = this.general.name;
-            console.log(this.complement);
             this.comment = this.complement.comentarios;
             this.justification = this.complement.justificacion;