diff --git a/ng-seed/src/app/appoinment/mail/mail-log/mail-log.component.ts b/ng-seed/src/app/appoinment/mail/mail-log/mail-log.component.ts
index 069586a..14756cd 100644
--- a/ng-seed/src/app/appoinment/mail/mail-log/mail-log.component.ts
+++ b/ng-seed/src/app/appoinment/mail/mail-log/mail-log.component.ts
@@ -67,6 +67,11 @@ export class MailLogComponent implements OnInit {
this.mailLogList = res.data;
console.log(this.mailLogList)
this.mailLogListLength = res.data.length;
+ this.mailLogList.forEach((element, index) => {
+ element.index = index
+
+
+ });
this.mailLogListSource['data'] = this.mailLogList;
console.log(this.mailLogListSource)
this.recordStatus=false;
diff --git a/ng-seed/src/app/end-user/booking-summary/booking-summary.component.html b/ng-seed/src/app/end-user/booking-summary/booking-summary.component.html
index 62ec58a..0f4c897 100644
--- a/ng-seed/src/app/end-user/booking-summary/booking-summary.component.html
+++ b/ng-seed/src/app/end-user/booking-summary/booking-summary.component.html
@@ -121,7 +121,7 @@
Booked On
- : {{bookingSummary.createdAt | date:'MM/dd/yyyy'}}
+ : {{bookingSummary.createdAt | date:'dd/MM/yyyy'}}
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 af13716..851e34f 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
@@ -40,13 +40,18 @@ export class BookingSummaryComponent implements OnInit {
}
- ngOnInit(): void {
+ ngOnInit() {
this.end_user.summmarylist_observable$.subscribe((res) => {
console.log('booked2', res);
this.customerBookingDetails = res[0].customer[0]
console.log(this.customerBookingDetails)
this.bookingSummary = res[0]
- this.bookingSummary.appoinmentSlots =JSON.parse(this.bookingSummary.appoinmentSlots)
+ if(this.bookingSummary.appoinmentSlots instanceof Array){
+ this.bookingSummary.appoinmentSlots =this.bookingSummary.appoinmentSlots
+ }else{
+ this.bookingSummary.appoinmentSlots =JSON.parse(this.bookingSummary.appoinmentSlots)
+ }
+ // 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/customer-info/customer-info.component.html b/ng-seed/src/app/end-user/customer-info/customer-info.component.html
index dde0c75..bca2478 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
@@ -124,7 +124,7 @@
Time
{{bookedDetails.time | date:'shortTime'}}
Amount
- ₹ {{bookedDetails.amount}}
+ {{currency}} {{bookedDetails.amount}}