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

Merge branch 'feature-general_fixes' of onunez/frontend-inversiones into development

Francisco Huezo пре 5 година
родитељ
комит
435b15bd65

+ 2 - 2
src/app/components/investment-proposals/approve/approve.component.ts

@@ -103,7 +103,7 @@ export class InvestmentProposalApproveComponent implements OnInit {
 
           if (this.userListPrevious.length > 0) {
             for (let i = 0; i < this.userListPrevious.length; i++) {
-              if (this.userListPrevious[i].checked_email == true) {
+              if (this.userListPrevious[i].default_email == true) {
                 this.generated_inputs_previous += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='previous-${
                   this.userListPrevious[i].name
                 }' name='users' value='${
@@ -122,7 +122,7 @@ export class InvestmentProposalApproveComponent implements OnInit {
           }
           if (this.userListNext.length > 0) {
             for (let i = 0; i < this.userListNext.length; i++) {
-              if (this.userListNext[i].checked_email == true) {
+              if (this.userListNext[i].default_email == true) {
                 this.generated_inputs_next += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='next-${
                   this.userListNext[i].name
                 }' name='users' value='${this.userListNext[i].name}' checked='${

+ 2 - 2
src/app/components/investment-proposals/investment-proposals.component.ts

@@ -295,7 +295,7 @@ export class InvestmentProposalsComponent implements OnInit {
 
         if (this.userList.length > 0) {
           for (let i = 0; i < this.userList.length; i++) {
-            if (this.userList[i].checked_email == true) {
+            if (this.userList[i].default_email == true) {
               this.test += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='next-${
                 this.userList[i].name
               }' name='users' value='${this.userList[i].name}' checked='${
@@ -426,7 +426,7 @@ export class InvestmentProposalsComponent implements OnInit {
 
         if (this.userList.length > 0) {
           for (let i = 0; i < this.userList.length; i++) {
-            if (this.userList[i].checked_email == true) {
+            if (this.userList[i].default_email == true) {
               this.test += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='next-${
                 this.userList[i].name
               }' name='users' value='${this.userList[i].name}' checked='${

+ 2 - 2
src/app/components/investment-proposals/payment-approval/payment-approval.component.ts

@@ -111,7 +111,7 @@ export class PaymentApprovalComponent implements OnInit {
 
           if (this.userListPrevious.length > 0) {
             for (let i = 0; i < this.userListPrevious.length; i++) {
-              if (this.userListPrevious[i].checked_email == true) {
+              if (this.userListPrevious[i].default_email == true) {
                 this.generated_inputs_previous += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='previous-${
                   this.userListPrevious[i].name
                 }' name='users' value='${
@@ -130,7 +130,7 @@ export class PaymentApprovalComponent implements OnInit {
           }
           if (this.userListNext.length > 0) {
             for (let i = 0; i < this.userListNext.length; i++) {
-              if (this.userListNext[i].checked_email == true) {
+              if (this.userListNext[i].default_email == true) {
                 this.generated_inputs_next += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='next-${
                   this.userListNext[i].name
                 }' name='users' value='${this.userListNext[i].name}' checked='${

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

@@ -103,7 +103,7 @@ export class PaymentInfoComponent implements OnInit {
         this.generated_inputs_next = "";
         if (this.userListNext.length > 0) {
           for (let i = 0; i < this.userListNext.length; i++) {
-            if (this.userListNext[i].checked_email == true) {
+            if (this.userListNext[i].default_email == true) {
               this.generated_inputs_next += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='next-${
                 this.userListNext[i].name
               }' name='users' value='${this.userListNext[i].name}' checked='${

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

@@ -114,7 +114,7 @@ export class PaymentRequirementComponent implements OnInit {
 
         if (this.userListPrevious.length > 0) {
           for (let i = 0; i < this.userListPrevious.length; i++) {
-            if (this.userListPrevious[i].checked_email == true) {
+            if (this.userListPrevious[i].default_email == true) {
               this.generated_inputs_previous += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='previous-${
                 this.userListPrevious[i].name
               }' name='users' value='${
@@ -131,7 +131,7 @@ export class PaymentRequirementComponent implements OnInit {
         }
         if (this.userListNext.length > 0) {
           for (let i = 0; i < this.userListNext.length; i++) {
-            if (this.userListNext[i].checked_email == true) {
+            if (this.userListNext[i].default_email == true) {
               this.generated_inputs_next += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='next-${
                 this.userListNext[i].name
               }' name='users' value='${this.userListNext[i].name}' checked='${

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

@@ -105,7 +105,7 @@ export class InvestmentProposalReviewComponent implements OnInit {
 
           if (this.userListPrevious.length > 0) {
             for (let i = 0; i < this.userListPrevious.length; i++) {
-              if (this.userListPrevious[i].checked_email == true) {
+              if (this.userListPrevious[i].default_email == true) {
                 this.generated_inputs_previous += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='previous-${
                   this.userListPrevious[i].name
                 }' name='users' value='${
@@ -124,7 +124,7 @@ export class InvestmentProposalReviewComponent implements OnInit {
           }
           if (this.userListNext.length > 0) {
             for (let i = 0; i < this.userListNext.length; i++) {
-              if (this.userListNext[i].checked_email == true) {
+              if (this.userListNext[i].default_email == true) {
                 this.generated_inputs_next += `<div class='form-check form-check-inline'><input type='checkbox' class='form-check-input' id='next-${
                   this.userListNext[i].name
                 }' name='users' value='${this.userListNext[i].name}' checked='${