From ca82e06ad79e467d1cf09df4c6ab81c9de7012dc Mon Sep 17 00:00:00 2001 From: Smart Date: Thu, 20 Apr 2023 10:06:24 +0530 Subject: [PATCH] table --- .../appoinments-list.component.html | 62 ++++++++++++++++--- .../add-business/add-business.component.html | 1 + .../business-list.component.html | 2 +- .../business-list.component.scss | 3 + .../customers-list.component.html | 58 ++++++++++++++--- 5 files changed, 106 insertions(+), 20 deletions(-) diff --git a/ng-seed/src/app/appoinment/appoinments/appoinments-list/appoinments-list.component.html b/ng-seed/src/app/appoinment/appoinments/appoinments-list/appoinments-list.component.html index 042e1bc..b16b7b6 100644 --- a/ng-seed/src/app/appoinment/appoinments/appoinments-list/appoinments-list.component.html +++ b/ng-seed/src/app/appoinment/appoinments/appoinments-list/appoinments-list.component.html @@ -20,8 +20,51 @@ + + + + + -
Client Name {{row.customer[0].cusName || null }}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Date and Time {{row.appoinmentDate | date:'dd-MMM-YYYY'}}, {{row.appoinmentSlots[0] | date:'shortTime'}} Mobile no {{row.customer[0].phoneNo}} Email {{row.customer[0].email}} Client Address {{row.customer[0].address_1}}, {{row.customer[0].city}}, {{row.customer[0].state}} Status {{row.status == 0 ? 'Booked':'Cancelled'}} Action
+ + + - + + Date and Time {{row.appoinmentDate | date:'dd-MMM-YYYY'}}, {{row.appoinmentSlots[0] | date:'shortTime'}} - + Mobile No {{row.customer[0].phoneNo}} - + Email {{row.customer[0].email}} - + Client Address {{row.customer[0].address_1}}
{{row.customer[0].city}}
{{row.customer[0].state}}
- + Status {{row.status == 0 ? 'Booked':'Cancelled'}} - + Action @@ -77,8 +120,7 @@ - - + --> + Phone No Contact No is required Invalid Contact No diff --git a/ng-seed/src/app/appoinment/business/business-list/business-list.component.html b/ng-seed/src/app/appoinment/business/business-list/business-list.component.html index 3de8b1a..2ad63d9 100644 --- a/ng-seed/src/app/appoinment/business/business-list/business-list.component.html +++ b/ng-seed/src/app/appoinment/business/business-list/business-list.component.html @@ -49,7 +49,7 @@ - Action + Action edit delete diff --git a/ng-seed/src/app/appoinment/business/business-list/business-list.component.scss b/ng-seed/src/app/appoinment/business/business-list/business-list.component.scss index fd9c48f..a14f574 100644 --- a/ng-seed/src/app/appoinment/business/business-list/business-list.component.scss +++ b/ng-seed/src/app/appoinment/business/business-list/business-list.component.scss @@ -123,4 +123,7 @@ img { } .mat-mob{ width: 15%; + } + .mat-action{ + width: 10%; } \ No newline at end of file diff --git a/ng-seed/src/app/appoinment/customers/customers-list/customers-list.component.html b/ng-seed/src/app/appoinment/customers/customers-list/customers-list.component.html index 34e9944..0037e8b 100644 --- a/ng-seed/src/app/appoinment/customers/customers-list/customers-list.component.html +++ b/ng-seed/src/app/appoinment/customers/customers-list/customers-list.component.html @@ -19,41 +19,77 @@ + + + + + + -
S.No {{row.id}}
- - + + + + + + + + + + + + + + + + + + + + + + + + + + +
Name {{row.cusName}} Email {{row.email}} Mobile no {{row.phoneNo}} Address {{row.address_1}}, {{row.city}}, {{row.state}} Action
+ + + + + Name {{row.cusName}} - + Email {{row.email}} - Mobile No {{row.phoneNo}} - + Address {{row.address_1}}
{{row.city}}
{{row.state}}
- + Action @@ -66,7 +102,11 @@ - + --> + + + +