- Phone No is required
+ Contact No is required
+ Invalid Contact No
+ Contact No must be at least 10 characters
Limit exceed
diff --git a/ng-seed/src/app/end-user/customer-info/customer-info.component.ts b/ng-seed/src/app/end-user/customer-info/customer-info.component.ts
index bb93c65..ab3d71c 100644
--- a/ng-seed/src/app/end-user/customer-info/customer-info.component.ts
+++ b/ng-seed/src/app/end-user/customer-info/customer-info.component.ts
@@ -39,16 +39,16 @@ export class CustomerInfoComponent implements OnInit {
ngOnInit() {
this.form = new FormGroup({
- cusName: new FormControl('', [Validators.required]),
+ cusName: new FormControl('', [Validators.required]),
email: new FormControl('', [Validators.required, Validators.email,Validators.pattern(
'[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,63}$',
),]),
+ phoneNo: new FormControl('', [Validators.required, Validators.minLength(10),Validators.maxLength(10), Validators.pattern('^[0-9]{10}$')]),
address_1: new FormControl('', [Validators.maxLength(50)]),
city: new FormControl('', [Validators.maxLength(10)]),
state: new FormControl('', [Validators.maxLength(10)]),
otp: new FormControl('', [Validators.maxLength(10)]),
pincode: new FormControl('',[Validators.maxLength(6)]),
- phoneNo: new FormControl('', [Validators.required, Validators.maxLength(10),Validators.minLength(10)]),
});
}
diff --git a/ng-seed/src/environments/environment.ts b/ng-seed/src/environments/environment.ts
index 7aeef88..7c54ae5 100644
--- a/ng-seed/src/environments/environment.ts
+++ b/ng-seed/src/environments/environment.ts
@@ -6,18 +6,21 @@
export const environment = {
production: false,
environmentName: 'Testing Environment',//Localhost Environment.
-// apiEndpoint:'http://venbainfotech.com:5000/api/',
-apiEndpoint:'http://192.168.1.17:8080/api/',
-// apiEndpoint:'https://api.venbait.in/api/',
+ // apiEndpoint:'http://venbainfotech.com:5000/api/',
+ apiEndpoint:'http://192.168.1.17:8080/api/',
+ // apiEndpoint:'https://api.venbait.in/api/',
+
+ //EndUser URL
+ endUserUrl:'https://venbainfotech.com/appointment/#/customer/business/',
- firebase: {
- apiKey: "AIzaSyCKbfDJ5Qf0rDP3WKppa94u9xuVaVabaDw",
- authDomain: "venba-appointment.firebaseapp.com",
- projectId: "venba-appointment",
- storageBucket: "venba-appointment.appspot.com",
- messagingSenderId: "513912226817",
- appId: "1:513912226817:web:eebcec6f7c6407a1dd2c00",
- measurementId: "G-48RM8BFRFK"
-},
+ firebase: {
+ apiKey: "AIzaSyCKbfDJ5Qf0rDP3WKppa94u9xuVaVabaDw",
+ authDomain: "venba-appointment.firebaseapp.com",
+ projectId: "venba-appointment",
+ storageBucket: "venba-appointment.appspot.com",
+ messagingSenderId: "513912226817",
+ appId: "1:513912226817:web:eebcec6f7c6407a1dd2c00",
+ measurementId: "G-48RM8BFRFK"
+ },
};