Selaa lähdekoodia

deshabilitando checkbox cuando es default_mail = True

Francisco huezo 5 vuotta sitten
vanhempi
commit
189ed6b228

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

@@ -112,7 +112,7 @@ export class InvestmentProposalApproveComponent implements OnInit {
                   this.userListPrevious[i].default_email == "true"
                     ? true
                     : false
-                }'><label class='form-check-label' for='previous-${
+                }' disabled='disabled'><label class='form-check-label' for='previous-${
                   this.userListPrevious[i].name
                 }'>${this.userListPrevious[i].name}</label></div>`;
               } else {
@@ -127,7 +127,7 @@ export class InvestmentProposalApproveComponent implements OnInit {
                   this.userListNext[i].name
                 }' name='users' value='${this.userListNext[i].name}' checked='${
                   this.userListNext[i].default_email == "true" ? true : false
-                }'><label class='form-check-label' for='next-${
+                }' disabled='disabled'><label class='form-check-label' for='next-${
                   this.userListNext[i].name
                 }'>${this.userListNext[i].name}</label></div>`;
               } else {

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

@@ -120,7 +120,7 @@ export class PaymentApprovalComponent implements OnInit {
                   this.userListPrevious[i].default_email == "true"
                     ? true
                     : false
-                }'><label class='form-check-label' for='previous-${
+                }' disabled='disabled'><label class='form-check-label' for='previous-${
                   this.userListPrevious[i].name
                 }'>${this.userListPrevious[i].name}</label></div>`;
               } else {
@@ -135,7 +135,7 @@ export class PaymentApprovalComponent implements OnInit {
                   this.userListNext[i].name
                 }' name='users' value='${this.userListNext[i].name}' checked='${
                   this.userListNext[i].default_email == "true" ? true : false
-                }'><label class='form-check-label' for='next-${
+                }' disabled='disabled'><label class='form-check-label' for='next-${
                   this.userListNext[i].name
                 }'>${this.userListNext[i].name}</label></div>`;
               } else {

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

@@ -121,7 +121,7 @@ export class PaymentRequirementComponent implements OnInit {
                 this.userListPrevious[i].name
               }' checked='${
                 this.userListPrevious[i].default_email == "true" ? true : false
-              }'><label class='form-check-label' for='previous-${
+              }' disabled='disabled'><label class='form-check-label' for='previous-${
                 this.userListPrevious[i].name
               }'>${this.userListPrevious[i].name}</label></div>`;
             } else {
@@ -136,7 +136,7 @@ export class PaymentRequirementComponent implements OnInit {
                 this.userListNext[i].name
               }' name='users' value='${this.userListNext[i].name}' checked='${
                 this.userListNext[i].default_email == "true" ? true : false
-              }'><label class='form-check-label' for='next-${
+              }' disabled='disabled'><label class='form-check-label' for='next-${
                 this.userListNext[i].name
               }'>${this.userListNext[i].name}</label></div>`;
             } else {

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

@@ -114,7 +114,7 @@ export class InvestmentProposalReviewComponent implements OnInit {
                   this.userListPrevious[i].default_email == "true"
                     ? true
                     : false
-                }'><label class='form-check-label' for='previous-${
+                }' disabled='disabled'><label class='form-check-label' for='previous-${
                   this.userListPrevious[i].name
                 }'>${this.userListPrevious[i].name}</label></div>`;
               } else {
@@ -129,7 +129,7 @@ export class InvestmentProposalReviewComponent implements OnInit {
                   this.userListNext[i].name
                 }' name='users' value='${this.userListNext[i].name}' checked='${
                   this.userListNext[i].default_email == "true" ? true : false
-                }'><label class='form-check-label' for='next-${
+                }' disabled='disabled'><label class='form-check-label' for='next-${
                   this.userListNext[i].name
                 }'>${this.userListNext[i].name}</label></div>`;
               } else {