diff --git a/ng-seed/src/app/end-user/booking-summary/booking-summary.component.ts b/ng-seed/src/app/end-user/booking-summary/booking-summary.component.ts
index 3669b6f..dfedad0 100644
--- a/ng-seed/src/app/end-user/booking-summary/booking-summary.component.ts
+++ b/ng-seed/src/app/end-user/booking-summary/booking-summary.component.ts
@@ -33,6 +33,7 @@ export class BookingSummaryComponent implements OnInit {
this.end_user.summmarylist_observable$.subscribe((res) => {
console.log('booked2', res);
this.bookingSummary = res[0]
+ this.bookingSummary.appoinmentSlots =JSON.parse( this.bookingSummary.appoinmentSlots)
// this.end_user.getcusServicesMapDetails()
let param ={id:this.bookingSummary.serviceMap}
diff --git a/ng-seed/src/app/end-user/consultants/consultants-list.component.html b/ng-seed/src/app/end-user/consultants/consultants-list.component.html
index c65bd42..8cedd68 100644
--- a/ng-seed/src/app/end-user/consultants/consultants-list.component.html
+++ b/ng-seed/src/app/end-user/consultants/consultants-list.component.html
@@ -1,10 +1,11 @@
-
+
Appointment
{{busName}}
+
+
diff --git a/ng-seed/src/app/end-user/customer-info/customer-info.component.html b/ng-seed/src/app/end-user/customer-info/customer-info.component.html
index f7fb0e1..c7f09ba 100644
--- a/ng-seed/src/app/end-user/customer-info/customer-info.component.html
+++ b/ng-seed/src/app/end-user/customer-info/customer-info.component.html
@@ -30,7 +30,7 @@
- VERIFY
+ VERIFY
- {{timeLeft == 0 ? 'Resend OTP' : timeLeft+' Seconds Left....' }}
- {{timeLeft == 0 ? 'Resend OTP' : timeLeft+' Seconds Left....' }}
+ {{timeLeft == 0 ? 'Resend OTP' : timeLeft+' Seconds Left....' }}
+ {{timeLeft == 0 ? 'Resend OTP' : timeLeft+' Seconds Left....' }}
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 bcd82eb..4d8f6c0 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
@@ -45,11 +45,11 @@ export class CustomerInfoComponent implements OnInit {
'[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)]),
+ 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)]),
});
}
@@ -60,17 +60,21 @@ export class CustomerInfoComponent implements OnInit {
submit(){
console.log(this.form.value)
console.log('add')
+ if(!this.form.valid){
+ return
+ }
let row_obj = this.form.value
console.log(row_obj)
let addFormData = {
cusName: row_obj.cusName,
email: row_obj.email,
address_1: row_obj.address_1,
- phoneNo: row_obj.phoneNo,
+ phoneNo: this.phoneNumber.substring(3) ,
pincode: row_obj.pincode,
state: row_obj.state,
city: row_obj.city,
};
+ console.log(addFormData)
this._cus.addCusDetails(addFormData).subscribe(res => {
if (res.status == 200) {
diff --git a/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.html b/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.html
index 7c0e2d6..8375d8e 100644
--- a/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.html
+++ b/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.html
@@ -42,6 +42,7 @@