Commit 3f9ea8e2 authored by ari_darmawan's avatar ari_darmawan

mandatory email

parent 8469350f
......@@ -85,7 +85,7 @@
<div class="form-group">
<label>
<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>
</small>
</label>
......@@ -95,6 +95,7 @@
class="form-control form-control-sm"
[disabled]="IsFormDisabled"
[(ngModel)]="Email"
#inputRequired
(blur)="EmailOnBlur()"
maxlength="100">
<input
......@@ -104,6 +105,7 @@
#inputRequired
[disabled]="IsFormDisabled"
[(ngModel)]="Email"
#inputRequired
(blur)="EmailOnBlur()"
maxlength="100">
</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