KYC management: stage-wise notices, pagination, RD base chart
This commit is contained in:
+11
-1
@@ -930,6 +930,10 @@
|
||||
createClientForm.get('mobileNo')?.hasError('pattern') && createClientForm.get('mobileNo')?.touched
|
||||
) {
|
||||
<mat-error>Enter valid 10-digit number (starts with 6-9)</mat-error>
|
||||
} @else if (createClientForm.get('mobileNo')?.hasError('contactTaken')) {
|
||||
<mat-error
|
||||
>This mobile number already belongs to another customer. Please enter a different number.</mat-error
|
||||
>
|
||||
}
|
||||
</mat-form-field>
|
||||
|
||||
@@ -940,7 +944,11 @@
|
||||
color="primary"
|
||||
type="button"
|
||||
class="verify-btn"
|
||||
[disabled]="readOnly || createClientForm.get('mobileNo')?.value?.length !== 10"
|
||||
[disabled]="
|
||||
readOnly ||
|
||||
createClientForm.get('mobileNo')?.value?.length !== 10 ||
|
||||
createClientForm.get('mobileNo')?.hasError('contactTaken')
|
||||
"
|
||||
(click)="verifyWithDIP()"
|
||||
>
|
||||
<fa-icon icon="shield-alt" class="m-r-10"></fa-icon>
|
||||
@@ -1008,6 +1016,8 @@
|
||||
createClientForm.get('emailAddress')?.hasError('required') && createClientForm.get('emailAddress')?.touched
|
||||
) {
|
||||
<mat-error>Email is <strong>required</strong></mat-error>
|
||||
} @else if (createClientForm.get('emailAddress')?.hasError('contactTaken')) {
|
||||
<mat-error>This email already belongs to another customer. Please enter a different email.</mat-error>
|
||||
} @else if (createClientForm.get('emailAddress')?.invalid && createClientForm.get('emailAddress')?.touched) {
|
||||
<mat-error>Enter a valid email (e.g. name@example.com)</mat-error>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user