Commit 3f9ea8e2 authored by ari_darmawan's avatar ari_darmawan

mandatory email

parent 8469350f
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<div class="form-group"> <div class="form-group">
<label> <label>
<small>E-mail <small>E-mail
<span *ngIf="((CustomerType == '0' || CustomerType == '1') && TeamID || (CustomerType == '2' && TeamID != Env.Team.AgentCallCenter && TeamID != Env.Team.SociomileStaff))" class="text-muted">(optional)</span> <span *ngIf="((CustomerType == '0' || CustomerType == '1') && TeamID || (CustomerType == '2' && TeamID != Env.Team.AgentCallCenter && TeamID != Env.Team.SociomileStaff))" class="text-danger">*</span>
<span *ngIf="(CustomerType == '2' && (TeamID == Env.Team.AgentCallCenter || TeamID == Env.Team.SociomileStaff))" class="text-danger">*</span> <span *ngIf="(CustomerType == '2' && (TeamID == Env.Team.AgentCallCenter || TeamID == Env.Team.SociomileStaff))" class="text-danger">*</span>
</small> </small>
</label> </label>
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
class="form-control form-control-sm" class="form-control form-control-sm"
[disabled]="IsFormDisabled" [disabled]="IsFormDisabled"
[(ngModel)]="Email" [(ngModel)]="Email"
#inputRequired
(blur)="EmailOnBlur()" (blur)="EmailOnBlur()"
maxlength="100"> maxlength="100">
<input <input
...@@ -104,6 +105,7 @@ ...@@ -104,6 +105,7 @@
#inputRequired #inputRequired
[disabled]="IsFormDisabled" [disabled]="IsFormDisabled"
[(ngModel)]="Email" [(ngModel)]="Email"
#inputRequired
(blur)="EmailOnBlur()" (blur)="EmailOnBlur()"
maxlength="100"> maxlength="100">
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment